environment/configure/hardening.sh: fix copy-paste error with nopie=yes

CFLAGS => CXXFLAGS
This commit is contained in:
oreo639 2024-02-03 01:49:00 -08:00 committed by oreo639
parent e5d3d05080
commit 48e03efdf4
1 changed files with 1 additions and 1 deletions

View File

@ -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