diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-05-29 02:22:48 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-03-31 16:22:33 +0200 |
| commit | fbd0bae6d6dfa0af786c906b419e01bb389ead3e (patch) | |
| tree | df4234c9dcd5bb0b73e1d0f603a97fb1b312a7e3 /configure.ac | |
| parent | 3f11a103a6ee10cc9ccf2121fce914cb82ef9f80 (diff) | |
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>
Diffstat (limited to 'configure.ac')
| -rwxr-xr-x | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
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 -------------------- |
