1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: apply CFLAGS
Make sure standard Debian CFLAGS is propagated down to the build,
in order to propagate all hardening options.
Author: Étienen Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2021-11-17
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- phyml.orig/configure.ac
+++ phyml/configure.ac
@@ -77,7 +77,7 @@
dnl DEFAULT_C_FLAG="-fno-inline-functions -fno-inline-functions-called-once -fno-optimize-sibling-calls -O2 -fno-omit-frame-pointer -g ${VECTOR_FLAG}"
-DEFAULT_C_FLAG="-std=c99 -O3 -fomit-frame-pointer -funroll-loops -Wall -Winline -finline ${VECTOR_FLAG}"
+DEFAULT_C_FLAG="-std=c99 -O3 -fomit-frame-pointer -funroll-loops -Wall -Winline -finline ${VECTOR_FLAG} ${CFLAGS}"
dnl DEFAULT_C_FLAG="-O2 ${VECTOR_FLAG}"
dnl DEFAULT_C_FLAG="${VECTOR_FLAG}"
dnl DEFAULT_C_FLAG="-pthread -O3 -g -ffunction-sections -fdata-sections"
|