mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Reverted change that was filtering out -O% from compile flags with debug=yes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@23566 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
02b0afaa62
commit
df51acd813
2 changed files with 4 additions and 11 deletions
|
@ -1,9 +1,8 @@
|
|||
2006-09-20 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
By default compile everything with debug=yes, which should now
|
||||
result in -g -O2. To disable the -g, please use 'make debug=no'.
|
||||
By default compile everything with debug=yes. To get the
|
||||
traditional behaviour, please use 'make debug=no'.
|
||||
* common.make (debug): Turn on debug by default.
|
||||
(OPTFLAG): Do not filter out -O% flags.
|
||||
|
||||
2006-09-19 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
|
|
10
common.make
10
common.make
|
@ -446,14 +446,8 @@ ifneq ($(debug), no)
|
|||
endif
|
||||
|
||||
ifeq ($(debug), yes)
|
||||
|
||||
# We used to filter away -O flags when compiling with debugging
|
||||
# enabled, but it seems that GCC has no special problem in compiling
|
||||
# with -g -O2, indeed it seems that that is the recommended set of
|
||||
# flags! So we keep the following line commented out. :-)
|
||||
|
||||
# OPTFLAG := $(filter-out -O%, $(OPTFLAG))
|
||||
|
||||
# This is filtered out as it compromised debugging
|
||||
OPTFLAG := $(filter-out -O%, $(OPTFLAG))
|
||||
ADDITIONAL_FLAGS += -g -Wall -DDEBUG -fno-omit-frame-pointer
|
||||
INTERNAL_JAVACFLAGS += -g -deprecation
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue