diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-11 20:55:51 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-11 20:55:51 +0400 |
commit | 84e54564db32ec937a7b326f9cee0735c1c19cb5 (patch) | |
tree | 8d99ea5236c80c1f9764c39f42abd538b8968f41 /build_ffmpeg.sh | |
parent | 6aa75bf64f5529e3c19456e34bf78c1d6df0eaef (diff) |
Set appropriate PE flags
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r-- | build_ffmpeg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh index 9c338519..07a48c51 100644 --- a/build_ffmpeg.sh +++ b/build_ffmpeg.sh @@ -76,7 +76,7 @@ configure() ( --arch=${arch}" EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../thirdparty/include -idirafter../common/includes/dxva2" - EXTRA_LDFLAGS="" + EXTRA_LDFLAGS="-Wl,--nxcompat -Wl,--dynamicbase -Wl,--no-seh" if [ "${arch}" == "x86_64" ]; then OPTIONS="${OPTIONS} --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32" EXTRA_LDFLAGS="${EXTRA_LDFLAGS} -L../thirdparty/lib64" |