From c646e6733dc84fe2247e39b54ca024fdc9ed2f97 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Aug 27 2020 08:29:05 +0000 Subject: Strip more LTO flags. --- diff --git a/mod_auth_openidc-2.4.3-nonlto.patch b/mod_auth_openidc-2.4.3-nonlto.patch index 3e77856..48947b4 100644 --- a/mod_auth_openidc-2.4.3-nonlto.patch +++ b/mod_auth_openidc-2.4.3-nonlto.patch @@ -4,7 +4,7 @@ @NAMEVER@.tar.gz: $(DISTFILES) tar -c --transform="s#^#@NAMEVER@/#" -vzf $@ $(DISTFILES) -+APXS_CFLAGS := $(shell @APXS2@ -q CFLAGS | sed 's/-flto //') $(CFLAGS) ++APXS_CFLAGS := $(shell @APXS2@ -q CFLAGS | sed 's/-f[^ ]*lto[^ ]* //g') $(CFLAGS) +APXS_CC := $(shell @APXS2@ -q CC) $(APXS_CFLAGS) $(shell @APXS2@ -q EXTRA_INCLUDES) + test/test test/test-cmd: test/test.c test/test-cmd.c test/stub.c src/mod_auth_openidc.la