]> git.puffer.fish Git - mirror/frr.git/commitdiff
build: disable autoconf "-g -O2" default CFLAGS
authorDavid Lamparter <equinox@opensourcerouting.org>
Fri, 29 May 2015 00:22:48 +0000 (02:22 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Fri, 31 Mar 2017 14:22:33 +0000 (16:22 +0200)
We have AC_C_FLAG and try -Os before -O2.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
configure.ac

index e46e44a8b751f8aa8559923fbe94edc1ca4a74cb..a8e820a237c5f706b2655e259f451feba9823839 100755 (executable)
@@ -66,6 +66,10 @@ LIBS="$LIBS -ltcmalloc_minimal"
 esac],[tcmalloc_enabled=false])
 
 
+dnl Thanks autoconf, but we don't want a default -g -O2.  We have our own
+dnl flag determination logic.
+CFLAGS="${CFLAGS:-}"
+
 dnl --------------------
 dnl Check CC and friends
 dnl --------------------