summaryrefslogtreecommitdiff
blob: e5d64e6042e03f36c30c0e099e0be46999a72529 (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
diff -Naur gutenprint-5.2.3-orig/configure.ac gutenprint-5.2.3/configure.ac
--- gutenprint-5.2.3-orig/configure.ac	2008-12-20 18:04:24.000000000 -0600
+++ gutenprint-5.2.3/configure.ac	2009-02-13 18:52:19.000000000 -0600
@@ -631,20 +631,6 @@
   if test x${USE_MAINTAINER_MODE} = xyes ; then
     STP_ADD_COMPILER_ARGS([-pedantic -Waggregate-return -Wcast-qual -Wshadow -Wredundant-decls],, [GNUCFLAGS])
   fi
-  if test x$ENABLE_DEBUG = xyes ; then
-    STP_ADD_COMPILER_ARG([-g])
-  else
-    STP_ADD_FIRST_COMPILER_ARG([-O6 -O3 -O2 -O1 -O])
-  fi
-else
-  if test x$ENABLE_DEBUG = xyes ; then
-    STP_ADD_COMPILER_ARG([-g])
-  else
-    STP_ADD_FIRST_COMPILER_ARG([-O])
-  fi
-fi
-if test x$ENABLE_PROFILE = xyes ; then
-  STP_ADD_COMPILER_ARG([-pg])
 fi
 AC_SUBST(GNUCFLAGS)