Skip to content

Commit

Permalink
Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Sascha Schumann committed Dec 22, 1999
1 parent 23f92bf commit 304f1eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/Zend.m4
Expand Up @@ -140,7 +140,7 @@ AC_MSG_RESULT($ZEND_DEBUG)
if test "$ZEND_DEBUG" = "yes"; then
AC_DEFINE(ZEND_DEBUG,1)
DEBUG_CFLAGS="-g"
echo " $CFLAGS" | grep ' -g' >/dev/null || DEBUG_CFLAGS="-g"
test -n "$GCC" && DEBUG_CFLAGS="$DEBUG_CFLAGS -Wall"
test -n "$GCC" && test "$USE_MAINTAINER_MODE" = "yes" && \
DEBUG_CFLAGS="$DEBUG_CFLAGS -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations"
Expand Down

0 comments on commit 304f1eb

Please sign in to comment.