summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-09-19 04:34:07 +0200
committerAllan McRae <allan@archlinux.org>2012-11-27 06:16:15 +0100
commit1d0ab50c050bbb52968b55293fd12c22e4fe1482 (patch)
tree334b51166677612c0dc30fb40a262abf70a34223 /configure.ac
parentb57ada336bae086a3e4c8acfc3f2fe02deeff037 (diff)
downloadpacman-1d0ab50c050bbb52968b55293fd12c22e4fe1482.tar.gz
pacman-1d0ab50c050bbb52968b55293fd12c22e4fe1482.tar.xz
Fix thinko in configure.ac CFLAGS empty checking
Since commit d2669b47, CFLAGS specified on the command line haven't been respected at all, resulting in no optimization being applied to builds. This exposed one warning flag issue in some new code, which is also fixed here. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 7fe696a9..2d7580ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,7 +67,7 @@ LIB_VERSION=`expr lib_current - lib_age`.lib_age.lib_revision
LIB_VERSION_INFO="lib_current:lib_revision:lib_age"
# Respect empty CFLAGS during compiler tests
-if test "x$CFLAGS" != "x"; then
+if test "x$CFLAGS" = "x"; then
CFLAGS=""
fi