Do not strip if KDBG is used
Modified: trunk/reactos/tools/helper.mk
_____
Modified: trunk/reactos/tools/helper.mk
--- trunk/reactos/tools/helper.mk 2005-04-26 05:10:58 UTC (rev
14810)
+++ trunk/reactos/tools/helper.mk 2005-04-26 05:13:49 UTC (rev
14811)
@@ -661,8 +661,15 @@
#
ifneq ($(DBG),1)
MK_CFLAGS += -Os -Wno-strict-aliasing -funit-at-a-time -fweb -ftracer
-momit-leaf-frame-pointer
+ MK_CFLAGS += -mpreferred-stack-boundary=2
+
+ #
+ # Remove Symbols if no debugging is used at all
+ #
+ ifneq ($(KDBG),1)
TARGET_LFLAGS += -Wl,-O1 -Wl,--sort-common -s
- MK_CFLAGS += -mpreferred-stack-boundary=2
+ endif
+
MK_CPPFLAGS += -O2 -Wno-strict-aliasing
MK_CPPFLAGS += -mpreferred-stack-boundary=2
endif
Show replies by date