systemd/let-linker-find-libudev-for-libdevmapper.patch

20 lines
663 B
Diff

---
configure.ac | 4 ----
1 file changed, 4 deletions(-)
Index: systemd-221/configure.ac
===================================================================
--- systemd-221.orig/configure.ac
+++ systemd-221/configure.ac
@@ -194,10 +194,6 @@ AS_CASE([$CC], [*clang*],
-Wno-gnu-variable-sized-type-not-at-end \
])])
-AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*],
- [CC_CHECK_FLAGS_APPEND([with_cflags], [CFLAGS], [\
- -flto -ffat-lto-objects])],
- [AC_MSG_RESULT([skipping -flto, optimization not enabled])])
AC_SUBST([OUR_CFLAGS], "$with_cflags $sanitizer_cflags")
AS_CASE([$CFLAGS], [*-O[[12345sz\ ]]*],