void-packages/srcpkgs/gnac/patches/cflags.patch

20 lines
368 B
Diff
Raw Normal View History

--- gnac-0.2.4.1/configure.ac.orig
+++ gnac-0.2.4.1/configure.ac
@@ -122,16 +122,6 @@
AC_SUBST(DISABLE_DEPRECATED)
fi
-# debug support
-AC_ARG_ENABLE([debug], [],
-[ if test "$enableval" = "yes"; then
- CFLAGS="-g -ggdb -O0"
- else
- CFLAGS="-O2"
- fi
- AC_SUBST([CFLAGS])
- ])
-
AC_SUBST([AM_CPPFLAGS])
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_LDFLAGS])