Revert "wizard: add -fomit-frame-pointer when we are not in debug mode."
authorarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 10 May 2010 16:22:12 +0000 (16:22 +0000)
committerarighi <arighi@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 10 May 2010 16:22:12 +0000 (16:22 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3644 38d2e660-2303-0410-9eaa-f027e97ec537

wizard/mktemplates/template.mk

index 1a219774d61e79a85eade71c0188e7958fc31d8d..ef9d934d2d438fe3aa6acf8287d375230aa75eab 100644 (file)
@@ -42,23 +42,13 @@ $pname_WIZARD_ASRC = \
        $asrc
        #
 
-ifeq ($($pname_DEBUG),1)
-       $pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$($pname_HW_PATH) -I$($pname_SRC_PATH) $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS)
-else
-       $pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$($pname_HW_PATH) -I$($pname_SRC_PATH) $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS) -fomit-frame-pointer
-endif
+$pname_CPPFLAGS = -D'CPU_FREQ=($cpuclockfreqUL)' -D'ARCH=(ARCH_DEFAULT)' -D'WIZ_AUTOGEN' -I$($pname_HW_PATH) -I$($pname_SRC_PATH) $($pname_CPU_CPPFLAGS) $($pname_USER_CPPFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
 $pname_LDFLAGS = $($pname_CPU_LDFLAGS) $($pname_WIZARD_LDFLAGS) $($pname_USER_LDFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
-ifeq ($($pname_DEBUG),1)
-       # Production options
-       $pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS)
-else
-       # Debug options
-       $pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS) -fomit-frame-pointer
-endif
+$pname_CPPAFLAGS = $($pname_CPU_CPPAFLAGS) $($pname_WIZARD_CPPAFLAGS) $($pname_USER_CPPAFLAGS)
 
 # Automatically generated by the wizard. PLEASE DO NOT EDIT!
 $pname_CSRC = $($pname_CPU_CSRC) $($pname_WIZARD_CSRC) $($pname_USER_CSRC)