build: disable autoconf "-g -O2" default CFLAGS

We have AC_C_FLAG and try -Os before -O2.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
David Lamparter 2015-05-29 02:22:48 +02:00
parent 3f11a103a6
commit fbd0bae6d6

View file

@ -66,6 +66,10 @@ LIBS="$LIBS -ltcmalloc_minimal"
esac],[tcmalloc_enabled=false]) 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 --------------------
dnl Check CC and friends dnl Check CC and friends
dnl -------------------- dnl --------------------