mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-04 16:53:54 -04:00
[misc] enable DEP (Data Execution Prevention) on MinGW
* Also fix minor warnings
This commit is contained in:
parent
7b37208820
commit
9950f5c088
5 changed files with 26 additions and 23 deletions
3
configure
vendored
3
configure
vendored
|
@ -3816,7 +3816,8 @@ $as_echo "#define _GNU_SOURCE /**/" >>confdefs.h
|
|||
# Clang needs an explicit WIN32_WINNT defined else it produces warnings
|
||||
# in msapi_utf8.h - including winver.h only doesn't work
|
||||
AM_CFLAGS="${AM_CFLAGS} -DWINVER=0x501 -D_WIN32_IE=0x501 -D_WIN32_WINNT=0x501"
|
||||
AM_LDFLAGS="${AM_LDFLAGS} -Wl,-no-undefined"
|
||||
# "-Wl,--nxcompat" to enable DEP (Data Execution Prevention)
|
||||
AM_LDFLAGS="${AM_LDFLAGS} -Wl,-no-undefined -Wl,--nxcompat"
|
||||
|
||||
# Debug symbols
|
||||
# Check whether --enable-debug was given.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue