Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #23024: Use -fstack-protector-all and -D_FORTIFY_SOURCE=2 on ming…
…w-w64 build
- Loading branch information
1 parent
7ebcf64
commit 2aa00f1
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 "$@" |