chiark / gitweb /
configure.ac actually defines OUR_CFLAGS
authorAndy Wingo <wingo@pobox.com>
Sun, 16 Aug 2015 09:46:50 +0000 (11:46 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 16 Aug 2015 09:46:50 +0000 (11:46 +0200)
* configure.ac (OUR_CFLAGS): Actually define.  This was preventing test
  executables from linking as they weren't getting the -fPIE flag.

configure.ac

index b8351f3..50da2b7 100644 (file)
@@ -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], [\