summaryrefslogtreecommitdiff
path: root/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch
blob: 1dea4b492f9f4b3fbe645b7f12e8a7ad7380cb5f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.ac
+++ b/configure.ac
@@ -237,8 +237,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.