Author: tretiakov
Date: Thu Apr 20 20:13:50 2006
New Revision: 21674
URL:
http://svn.reactos.ru/svn/reactos?rev=21674&view=rev
Log:
Add GDB property for debugging with gdb
Modified:
trunk/reactos/ReactOS.rbuild
trunk/reactos/config.template.rbuild
Modified: trunk/reactos/ReactOS.rbuild
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/ReactOS.rbuild?rev=21674&am…
==============================================================================
--- trunk/reactos/ReactOS.rbuild (original)
+++ trunk/reactos/ReactOS.rbuild Thu Apr 20 20:13:50 2006
@@ -24,11 +24,14 @@
<define name="KDBG" value="1" />
<property name="DBG_OR_KDBG" value="true" />
</if>
- <compilerflag>-Os</compilerflag>
- <compilerflag>-Wno-strict-aliasing</compilerflag>
- <compilerflag>-ftracer</compilerflag>
- <compilerflag>-momit-leaf-frame-pointer</compilerflag>
- <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
+
+ <if property="GDB" value="0">
+ <compilerflag>-Os</compilerflag>
+ <compilerflag>-Wno-strict-aliasing</compilerflag>
+ <compilerflag>-ftracer</compilerflag>
+ <compilerflag>-momit-leaf-frame-pointer</compilerflag>
+ <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
+ </if>
<compilerflag>-Wpointer-arith</compilerflag>
<include>.</include>
Modified: trunk/reactos/config.template.rbuild
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/config.template.rbuild?rev=…
==============================================================================
--- trunk/reactos/config.template.rbuild (original)
+++ trunk/reactos/config.template.rbuild Thu Apr 20 20:13:50 2006
@@ -53,4 +53,11 @@
-->
<property name="DBG" value="1" />
+
+<!--
+ Whether to compile for debugging with GDB. If you don't use GDB, don't
+ enable this.
+-->
+<property name="GDB" value="0" />
+
</rbuild>