From f4642e9f51dcb29961e586d3195f1334d1f8cb19 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Sun, 14 Feb 2016 01:40:14 -0800 Subject: Define __GNUC__ to 4, since this is what the compiler sets. Change-Id: Iae5681deffb4f97e42adb7d3e228474499be7f1f Reviewed-by: Christian Kandeler --- share/qbs/modules/cpp/DarwinGCC.qbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.1