Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
cross-mingw: start introducing some hardening flags
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Feb 26, 2020
1 parent eeae3cb commit a8b4619
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cross-mingw
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ set -x
export AR="x86_64-w64-mingw32-ar"
export AS="x86_64-w64-mingw32-as"
export CC="x86_64-w64-mingw32-gcc"
export CFLAGS="-Wall -O2"
export CFLAGS="-Wall -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2"
export CPP="x86_64-w64-mingw32-cpp"
export CXX="x86_64-w64-mingw32-g++"
export CXXFLAGS="-Wall -O2"
export CXXFLAGS="-Wall -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2"
export LD="x86_64-w64-mingw32-ld"
export NM="x86_64-w64-mingw32-nm"
export PATH="/usr/local/bin:/usr/bin:/bin"
Expand Down

0 comments on commit a8b4619

Please sign in to comment.