diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-07-09 15:57:56 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-07-09 15:57:56 +0000 |
commit | f16b6aeabb12b3fbea51bd9a474b1aec84fee7c5 (patch) | |
tree | a71723394deaf9da52bbf54e641b88fa7415facf | |
parent | df69ee07e257df127b1ad1fe14a17ec561c69fa1 (diff) |
Use an empty CFLAGS by default to prevent autoconf from setting it when
debugging isn't enabled.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 305bc391..9137d51d 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,10 @@ AM_INIT_AUTOMAKE([foreign]) AC_CANONICAL_HOST +# When CFLAGS isn't set at this stage and gcc is detected by the macro below, +# autoconf will automatically use CFLAGS="-O2 -g". Prevent that by using an +# empty default. +: ${CFLAGS=""} # Set up the compiler in two different ways and say yes we may want to install. AC_PROG_CC AM_PROG_CC_C_O |