summaryrefslogtreecommitdiffstats
path: root/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
blob: 981ab9904a0e84cbd052db246c24339972cc6d2c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.ac
+++ b/configure.ac
@@ -247,8 +247,6 @@ dnl Apply options to defines
 if test "x$enable_debug" = "xyes" ; then
   CFLAGS="$CFLAGS -O0 -g3"
   AC_DEFINE([__DEBUG__], [1], [Build with debugging])
-else
-  CFLAGS="$CFLAGS -O6"
 fi
 
 dnl Asterisk header files use lots of old style declarations, ignore those.