From 48e03efdf4a645b7162f7bfcee3ac9680185e65d Mon Sep 17 00:00:00 2001 From: oreo639 Date: Sat, 3 Feb 2024 01:49:00 -0800 Subject: [PATCH] environment/configure/hardening.sh: fix copy-paste error with nopie=yes CFLAGS => CXXFLAGS --- common/environment/configure/hardening.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/environment/configure/hardening.sh b/common/environment/configure/hardening.sh index 9e02364f2a1..cb1b53a5cec 100644 --- a/common/environment/configure/hardening.sh +++ b/common/environment/configure/hardening.sh @@ -24,7 +24,7 @@ if [ -z "$nopie" ]; then fi else CFLAGS="-fno-PIE ${CFLAGS}" - CXXFLAGS="-fno-PIE ${CFLAGS}" + CXXFLAGS="-fno-PIE ${CXXFLAGS}" FFLAGS="-fno-PIE ${FFLAGS}" LDFLAGS="-no-pie ${LDFLAGS}" fi