Fix for bug 498511 . Add optional debug info to optimized builds on Linux . r=nelson

git-svn-id: svn://10.0.0.236/trunk@257859 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
julien.pierre.boogz%sun.com 2009-07-29 23:43:41 +00:00
parent 7de7ad7e91
commit 3ee423e2b0

View File

@ -124,7 +124,11 @@ ifeq (11,$(ALLOW_OPT_CODE_SIZE)$(OPT_CODE_SIZE))
else
OPTIMIZER = -O2
endif
ifdef MOZ_DEBUG_SYMBOLS
OPTIMIZER += -gstabs+
endif
endif
ifeq ($(USE_PTHREADS),1)
OS_PTHREAD = -lpthread