From: David Lamparter Date: Fri, 29 May 2015 00:22:48 +0000 (+0200) Subject: build: disable autoconf "-g -O2" default CFLAGS X-Git-Tag: reindent-master-before~227^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=fbd0bae6d6dfa0af786c906b419e01bb389ead3e;p=matthieu%2Ffrr.git build: disable autoconf "-g -O2" default CFLAGS We have AC_C_FLAG and try -Os before -O2. Signed-off-by: David Lamparter --- diff --git a/configure.ac b/configure.ac index e46e44a8b7..a8e820a237 100755 --- a/configure.ac +++ b/configure.ac @@ -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 --------------------