summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-02 16:26:10 (GMT)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>2012-11-23 12:45:10 (GMT)
commit3bf7e9f76f73eb4d98d6c991a6a6da66c1311ad0 (patch)
treec4f69257a2b9c523afb134a794bff947cb2387c3 /configure.ac
parent74dca0ab7101a25d4c4d1ca5d89f8a4807b94ac9 (diff)
downloadconnman-3bf7e9f76f73eb4d98d6c991a6a6da66c1311ad0.zip
connman-3bf7e9f76f73eb4d98d6c991a6a6da66c1311ad0.tar.gz
connman-3bf7e9f76f73eb4d98d6c991a6a6da66c1311ad0.tar.bz2
build: No FORTIFY flags when building without optimization
When building with --disable-optimiziation we need to make sure the compiler flags do not include -O0 and FORTITFY when compiling the resolv.h header file.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 87580c4..48f365a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12,8 +12,6 @@ AC_PREFIX_DEFAULT(/usr/local)
PKG_PROG_PKG_CONFIG
-COMPILER_FLAGS
-
AC_SUBST(abs_top_srcdir)
AC_SUBST(abs_top_builddir)
@@ -38,6 +36,8 @@ AC_ARG_ENABLE(optimization, AC_HELP_STRING([--disable-optimization],
fi
])
+COMPILER_FLAGS
+
GTK_DOC_CHECK
AC_ARG_ENABLE(debug, AC_HELP_STRING([--enable-debug],