2015-02-13 10:43:21 +01:00
|
|
|
---
|
|
|
|
Makefile.am | 4 ++++
|
|
|
|
configure.ac | 4 ----
|
2015-02-16 12:36:25 +01:00
|
|
|
2 files changed, 4 insertions(+), 4 deletions(-)
|
2015-02-13 10:43:21 +01:00
|
|
|
|
2015-02-16 12:36:25 +01:00
|
|
|
Index: systemd/Makefile.am
|
2015-02-13 10:43:21 +01:00
|
|
|
===================================================================
|
2015-02-16 12:36:25 +01:00
|
|
|
--- systemd.orig/Makefile.am
|
|
|
|
+++ systemd/Makefile.am
|
|
|
|
@@ -4789,6 +4789,10 @@ systemd_cryptsetup_CFLAGS = \
|
2014-03-13 14:46:47 +01:00
|
|
|
$(AM_CFLAGS) \
|
|
|
|
$(LIBCRYPTSETUP_CFLAGS)
|
|
|
|
|
|
|
|
+systemd_cryptsetup_LDFLAGS = \
|
|
|
|
+ $(AM_LDFLAGS) \
|
|
|
|
+ -Wl,-rpath-link=$(top_srcdir)/.libs
|
|
|
|
+
|
|
|
|
systemd_cryptsetup_LDADD = \
|
|
|
|
libsystemd-label.la \
|
|
|
|
libudev-internal.la \
|
2015-02-16 12:36:25 +01:00
|
|
|
Index: systemd/configure.ac
|
2015-02-13 10:43:21 +01:00
|
|
|
===================================================================
|
2015-02-16 12:36:25 +01:00
|
|
|
--- systemd.orig/configure.ac
|
|
|
|
+++ systemd/configure.ac
|
2015-02-13 10:43:21 +01:00
|
|
|
@@ -206,10 +206,6 @@ AS_CASE([$CC], [*clang*],
|
|
|
|
-Wno-gnu-variable-sized-type-not-at-end \
|
|
|
|
])])
|
|
|
|
|
2014-03-13 14:46:47 +01:00
|
|
|
-AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
|
|
|
|
- [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
2015-02-13 10:43:21 +01:00
|
|
|
- -flto -ffat-lto-objects])],
|
2014-03-13 14:46:47 +01:00
|
|
|
- [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
|
2015-02-13 10:43:21 +01:00
|
|
|
AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
|
2014-03-13 14:46:47 +01:00
|
|
|
|
|
|
|
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
|