1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
From: Roland Rosenfeld <roland@debian.org>
Date: Wed, 14 Feb 2024 21:22:54 +0100
Forwarded: not-needed
Subject: Tunnel the CPPFLAGS for fortify to quickjs Makefile
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -291,7 +291,7 @@ sub make_libquickjs_makefile {
# We need position-independent code so we can compile QuickJS into a
# shared library.
#
- substr($make, 0, 0, "CFLAGS+=-fPIC\n");
+ substr($make, 0, 0, "CFLAGS+=-fPIC $ENV{CPPFLAGS}\n");
# In systems old enough to need -lrt (e.g., CloudLinux 6),
# assume we need these other omissions as well:
|