diff options
author | Mikkel Krautz <mikkel@krautz.dk> | 2009-08-24 03:57:11 +0400 |
---|---|---|
committer | Mikkel Krautz <mikkel@krautz.dk> | 2009-08-24 04:53:11 +0400 |
commit | 82a43737c8a89b1e0ece08637edb8445a10e4a30 (patch) | |
tree | 4e542cb88f171e76f11f96e74ed8b6fc42baca49 /compiler.pri | |
parent | 9e9b032768d2f1823d98c4bede3f38a3b0dc26f2 (diff) |
Don't pass incompatible parameters to the Darwin linker.
Diffstat (limited to 'compiler.pri')
-rw-r--r-- | compiler.pri | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler.pri b/compiler.pri index e9f1817b1..e1c2e080a 100644 --- a/compiler.pri +++ b/compiler.pri @@ -67,7 +67,9 @@ win32 { DEFINES *= _FORTIFY_SOURCE=2 - QMAKE_LFLAGS *= -Wl,-z,relro -Wl,-z,now + !macx { + QMAKE_LFLAGS *= -Wl,-z,relro -Wl,-z,now + } CONFIG(optgen) { QMAKE_CFLAGS *= -O3 -march=native -ffast-math -ftree-vectorize -fprofile-generate |