1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Author: Andreas Tille <tille@debian.org>
Last-Update: 2025-06-02
Reviewed-By: Étienne Mollier <emollier@debian.org>
Description: Propagate hardening options
--- bitseq.orig/Makefile
+++ bitseq/Makefile
@@ -8,10 +8,10 @@
# Use O1 for debuiggging so it's not totally slow.
DBGFLAGS = -O1 -ggdb -U_FORTIFY_SOURCE
COFLAGS = $(ARCH) -O2 -pipe
-CXXFLAGS = -DBS_VERSION=\"$(VERSION)\" -Wall $(COFLAGS)
+CXXFLAGS += $(CPPFLAGS) -DBS_VERSION=\"$(VERSION)\" -Wall $(COFLAGS)
# -Wvla does not work with old gcc
# -ffast-math segfaults with old gcc, don't use.
-LDFLAGS = -Wl,-gc-sections
+LDFLAGS += -Wl,-gc-sections
BOOSTFLAGS = -I .
OPENMP = -fopenmp -DSUPPORT_OPENMP
|