diff options
author | Jake Petroules <jake.petroules@theqtcompany.com> | 2016-02-14 01:40:14 -0800 |
---|---|---|
committer | Jake Petroules <jake.petroules@theqtcompany.com> | 2016-02-16 10:21:18 +0000 |
commit | f4642e9f51dcb29961e586d3195f1334d1f8cb19 (patch) | |
tree | 5304ddfe5d99a26a6f49c567e8e1ee754fe326fc | |
parent | bfaaba0422b9f3467c8f081b79026f6c2a970b28 (diff) |
Define __GNUC__ to 4, since this is what the compiler sets.
Change-Id: Iae5681deffb4f97e42adb7d3e228474499be7f1f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r-- | share/qbs/modules/cpp/DarwinGCC.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/qbs/modules/cpp/DarwinGCC.qbs b/share/qbs/modules/cpp/DarwinGCC.qbs index 43ea72bc5..e501f7a69 100644 --- a/share/qbs/modules/cpp/DarwinGCC.qbs +++ b/share/qbs/modules/cpp/DarwinGCC.qbs @@ -34,7 +34,7 @@ import qbs.ModUtils UnixGCC { condition: false - compilerDefines: ["__GNUC__", "__APPLE__"] + compilerDefines: ["__GNUC__=4", "__APPLE__"] loadableModulePrefix: "" loadableModuleSuffix: ".bundle" dynamicLibrarySuffix: ".dylib" |