2015-02-13 10:43:21 +01:00
|
|
|
---
|
|
|
|
Makefile.am | 4 ++++
|
|
|
|
Makefile.in | 2 +-
|
|
|
|
configure.ac | 4 ----
|
|
|
|
3 files changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
|
|
|
|
Index: systemd-218/Makefile.am
|
|
|
|
===================================================================
|
|
|
|
--- systemd-218.orig/Makefile.am
|
|
|
|
+++ systemd-218/Makefile.am
|
|
|
|
@@ -4695,6 +4695,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-13 10:43:21 +01:00
|
|
|
Index: systemd-218/Makefile.in
|
|
|
|
===================================================================
|
|
|
|
--- systemd-218.orig/Makefile.in
|
|
|
|
+++ systemd-218/Makefile.in
|
|
|
|
@@ -11109,7 +11109,7 @@ src/cryptsetup/systemd_cryptsetup-crypts
|
2014-03-13 14:46:47 +01:00
|
|
|
|
|
|
|
systemd-cryptsetup$(EXEEXT): $(systemd_cryptsetup_OBJECTS) $(systemd_cryptsetup_DEPENDENCIES) $(EXTRA_systemd_cryptsetup_DEPENDENCIES)
|
|
|
|
@rm -f systemd-cryptsetup$(EXEEXT)
|
|
|
|
- $(AM_V_CCLD)$(systemd_cryptsetup_LINK) $(systemd_cryptsetup_OBJECTS) $(systemd_cryptsetup_LDADD) $(LIBS)
|
|
|
|
+ $(AM_V_CCLD)$(systemd_cryptsetup_LINK) $(systemd_cryptsetup_OBJECTS) $(systemd_cryptsetup_LDFLAGS) $(systemd_cryptsetup_LDADD) $(LIBS)
|
|
|
|
src/cryptsetup/cryptsetup-generator.$(OBJEXT): \
|
|
|
|
src/cryptsetup/$(am__dirstamp) \
|
|
|
|
src/cryptsetup/$(DEPDIR)/$(am__dirstamp)
|
2015-02-13 10:43:21 +01:00
|
|
|
Index: systemd-218/configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- systemd-218.orig/configure.ac
|
|
|
|
+++ systemd-218/configure.ac
|
|
|
|
@@ -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\ ]]*],
|