freebsd-ports/x11-toolkits/fox/files/patch-ad
Akinori MUSHA 4a936ae0aa Note the default optimization flags used by the vendor in a comment.
Comment out redundant lines rather than deleting them. (Just my taste)
2001-04-30 16:39:03 +00:00

27 lines
827 B
Plaintext

--- configure.orig Thu Apr 5 05:25:59 2001
+++ configure Tue May 1 01:34:27 2001
@@ -839,7 +839,7 @@
-CXXFLAGS=""
+#CXXFLAGS=""
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
@@ -3440,9 +3440,12 @@
echo "$ac_t""$enable_release" 1>&6
if test "x$enable_release" = "xyes" ; then
-CXXFLAGS="${CXXFLAGS} -O2 -DNDEBUG"
+CXXFLAGS="${CXXFLAGS} -DNDEBUG"
if test "${GXX}" = "yes" ; then
-CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+#CXXFLAGS="${CXXFLAGS} -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
fi
fi