mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 02:55:55 +02:00
make.sh: Build with _FORTIFY_SOURCE=3
This will require that we re-ship everything. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
2
make.sh
2
make.sh
@@ -182,7 +182,7 @@ configure_build() {
|
||||
TOOLS_DIR="/tools_${BUILD_ARCH}"
|
||||
|
||||
# Enables hardening
|
||||
HARDENING_CFLAGS="-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection"
|
||||
HARDENING_CFLAGS="-Wp,-U_FORTIFY_SOURCE -Wp,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection"
|
||||
|
||||
CFLAGS="-O2 -pipe -Wall -fexceptions -fPIC ${CFLAGS_ARCH}"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user