summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/fox-devel/files/patch-ad
blob: 551b79b4b94f328b388a70d1c4b501c97ecc4886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
--- configure.orig	Wed Apr  4 13:25:59 2001
+++ configure	Mon Apr 30 00:42:01 2001
@@ -839,8 +839,6 @@
 
 
 
-CXXFLAGS=""
-
 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
 echo "configure:846: checking whether ${MAKE-make} sets \${MAKE}" >&5
 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
@@ -3440,9 +3438,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}"
+if test "${with_profiling}" = ""; then
+CXXFLAGS="${CXXFLAGS} -fomit-frame-pointer"
+fi
 fi
 fi
 
OpenPOWER on IntegriCloud