Skip to content

Commit

Permalink
Bug #23024: Use -fstack-protector-all and -D_FORTIFY_SOURCE=2 on ming…
Browse files Browse the repository at this point in the history
…w-w64 build
  • Loading branch information
arthuredelstein committed Jul 24, 2017
1 parent 7ebcf64 commit 2aa00f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/mingw-w64/i686-w64-mingw32-g++
@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
# Hardened mingw gcc wrapper # Hardened mingw gcc wrapper


/var/tmp/dist/mingw-w64/bin/i686-w64-mingw32-g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -fstack-protector --param ssp-buffer-size=4 -fno-strict-overflow "$@" /var/tmp/dist/mingw-w64/bin/i686-w64-mingw32-g++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -fstack-protector-all -D_FORTIFY_SOURCE=2 -fno-strict-overflow "$@"
2 changes: 1 addition & 1 deletion projects/mingw-w64/i686-w64-mingw32-gcc
@@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
# Hardened mingw gcc wrapper # Hardened mingw gcc wrapper


/var/tmp/dist/mingw-w64/bin/i686-w64-mingw32-gcc -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -fstack-protector --param ssp-buffer-size=4 -fno-strict-overflow "$@" /var/tmp/dist/mingw-w64/bin/i686-w64-mingw32-gcc -Wl,--dynamicbase -Wl,--nxcompat -Wl,--enable-reloc-section -fstack-protector-all -D_FORTIFY_SOURCE=2 -fno-strict-overflow "$@"

0 comments on commit 2aa00f1

Please sign in to comment.