mirror of
https://git.freebsd.org/ports.git
synced 2025-06-27 15:40:32 -04:00
31 lines
835 B
Text
31 lines
835 B
Text
--- configure.orig 2002-01-02 16:44:11 UTC
|
|
+++ configure
|
|
@@ -1602,15 +1602,15 @@ if test "$ac_test_CFLAGS" = set; then
|
|
CFLAGS=$ac_save_CFLAGS
|
|
elif test $ac_cv_prog_cc_g = yes; then
|
|
if test "$GCC" = yes; then
|
|
- CFLAGS="-g -O2"
|
|
+ CFLAGS="${CFLAGS} -g -O2"
|
|
else
|
|
- CFLAGS="-g"
|
|
+ CFLAGS="${CFLAGS} -g"
|
|
fi
|
|
else
|
|
if test "$GCC" = yes; then
|
|
- CFLAGS="-O2"
|
|
+ CFLAGS="${CFLAGS} -O2"
|
|
else
|
|
- CFLAGS=
|
|
+ CFLAGS="${CFLAGS}"
|
|
fi
|
|
fi
|
|
# Some people use a C++ compiler to compile C. Since we use `exit',
|
|
@@ -2283,7 +2283,7 @@ echo "${ECHO_T}no" >&6
|
|
fi
|
|
|
|
if [ x"$GXX" = "xyes" ]; then
|
|
- CFLAGS="-O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
|
|
+ CFLAGS="${CFLAGS} -O2 -g -fomit-frame-pointer -Wall -Wno-unused -Wno-format"
|
|
fi
|
|
|
|
UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
|