mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
fix problem with builing for debug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@28699 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e76d0784e7
commit
bbf8d6432b
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2009-09-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* common.make: Fix debug build ... somehow filtering out of the -O
|
||||
flag got lost, preventing effective debugging with gdb when debug=yes
|
||||
|
||||
2009-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
* Documentation/releasenotes.texi: Fixed typo in the release notes
|
||||
|
|
|
@ -645,6 +645,11 @@ ifeq ($(profile), yes)
|
|||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(debug), yes)
|
||||
# Optimisation must be removed to permit debugging
|
||||
OPTFLAG := $(filter-out -O%, $(OPTFLAG))
|
||||
endif
|
||||
|
||||
# Enable debug by default. This is according to the GNU Coding
|
||||
# Standards.
|
||||
ifneq ($(debug), no)
|
||||
|
|
Loading…
Reference in a new issue