summaryrefslogtreecommitdiff
path: root/x11-toolkits/fox-devel/files/patch-ad
blob: 9ec0f21f900422e6847a4450159a9a9a4732795a (plain) (blame)
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	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