From 6f29487d658c9da34d1234e43fc48584737c22df 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 9e02364f2a1dc..cb1b53a5cec4a 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