From 2db825368115f655b447892078314a15f7efa030 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Sun, 16 Aug 2015 11:46:50 +0200 Subject: [PATCH] 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index b8351f397..50da2b756 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], [\ -- 2.30.2