2015-03-09 09:20:20 +01:00
|
|
|
--- systemd-210/Makefile.am
|
|
|
|
+++ systemd-210/Makefile.am 2014-03-13 08:54:36.010736086 +0000
|
|
|
|
@@ -3691,6 +3691,10 @@ systemd_cryptsetup_CFLAGS = \
|
2014-03-18 16:21:15 +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-03-09 09:20:20 +01:00
|
|
|
--- systemd-210/Makefile.in
|
|
|
|
+++ systemd-210/Makefile.in 2014-03-13 09:19:48.950238725 +0000
|
|
|
|
@@ -8964,7 +8964,7 @@ src/cryptsetup/systemd_cryptsetup-crypts
|
2014-03-18 16:21:15 +01:00
|
|
|
|
2015-03-09 09:20:20 +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)
|
|
|
|
--- systemd-210/configure.ac
|
|
|
|
+++ systemd-210/configure.ac 2014-03-13 13:46:24.394235954 +0000
|
|
|
|
@@ -156,10 +156,6 @@ CC_CHECK_FLAGS_APPEND([with_cflags], [CF
|
|
|
|
-fdata-sections \
|
|
|
|
-fstack-protector \
|
|
|
|
--param=ssp-buffer-size=4])
|
2014-03-18 16:21:15 +01:00
|
|
|
-AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
|
|
|
|
- [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
|
2015-03-09 09:20:20 +01:00
|
|
|
- -flto])],
|
2014-03-18 16:21:15 +01:00
|
|
|
- [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
|
2015-03-09 09:20:20 +01:00
|
|
|
AC_SUBST([OUR_CFLAGS], "$with_cflags $address_sanitizer_cflags")
|
2014-03-18 16:21:15 +01:00
|
|
|
|
|
|
|
AS_CASE([$CFLAGS], [*-O[[12345\ ]]*],
|