chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
578f4b2
)
configure.ac actually defines OUR_CFLAGS
author
Andy Wingo
<wingo@pobox.com>
Sun, 16 Aug 2015 09:46:50 +0000
(11:46 +0200)
committer
Andy 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
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index b8351f397f418e0cca0bfe8f956dab6cda60e521..50da2b7564bcf64ff801e3b9c300db9a64347618 100644
(file)
--- 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], [\