mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
- Fixed -g adding for gcc and g++ (former got it twice, latter not at all)
This commit is contained in:
parent
743f50927c
commit
309a56f3f7
2 changed files with 2 additions and 2 deletions
|
@ -764,7 +764,7 @@ if test "$PHP_DEBUG" = "yes"; then
|
|||
changequote([,])
|
||||
dnl add -O0 only if GCC or ICC is used
|
||||
if test "$GCC" = "yes" || test "$ICC" = "yes"; then
|
||||
CFLAGS="$CFLAGS -g -O0"
|
||||
CFLAGS="$CFLAGS -O0"
|
||||
CXXFLAGS="$CXXFLAGS -g -O0"
|
||||
fi
|
||||
if test "$SUNCC" = "yes"; then
|
||||
|
|
|
@ -111,7 +111,7 @@ if test "$PHP_DEBUG" = "yes"; then
|
|||
dnl add -O0 only if GCC or ICC is used
|
||||
if test "$GCC" = "yes" || test "$ICC" = "yes"; then
|
||||
CFLAGS="$CFLAGS -O0"
|
||||
CXXFLAGS="$CXXFLAGS -O0"
|
||||
CXXFLAGS="$CXXFLAGS -g -O0"
|
||||
fi
|
||||
if test "$SUNCC" = "yes"; then
|
||||
if test -n "$auto_cflags"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue