telephony/net/asterisk-chan-dongle/patches/300-use-openwrt-flags.patch

12 lines
325 B
Diff

--- 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.