summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-08-16 11:46:50 +0200
committerAndy Wingo <wingo@pobox.com>2015-08-16 11:46:50 +0200
commit2db825368115f655b447892078314a15f7efa030 (patch)
treeee4839890044d31b0f522bbdc1e41c4404868250
parent578f4b2e9cdaae895fcac057d6d6fa4f85d55535 (diff)
configure.ac actually defines OUR_CFLAGS
* configure.ac (OUR_CFLAGS): Actually define. This was preventing test executables from linking as they weren't getting the -fPIE flag.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index b8351f397f..50da2b7564 100644
--- a/configure.ac
+++ b/configure.ac
@@ -195,7 +195,7 @@ dnl AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*],
dnl [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
dnl -flto -ffat-lto-objects])],
dnl [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
-dnl AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
+AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*],
[CC_CHECK_FLAGS_APPEND([with_cppflags], [CPPFLAGS], [\