summaryrefslogtreecommitdiffstats
path: root/mkspecs/common/g++.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/common/g++.conf')
-rw-r--r--mkspecs/common/g++.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/mkspecs/common/g++.conf b/mkspecs/common/g++.conf
new file mode 100644
index 0000000000..c5a34a9db3
--- /dev/null
+++ b/mkspecs/common/g++.conf
@@ -0,0 +1,12 @@
+#
+# Notice: g++.conf has been split into g++-base.conf and g++-unix.conf
+#
+# This file will make sure that anyone who's still including g++.conf
+# directly will get a warning and an explanation of how to fix their mkspec
+#
+
+warning($$escape_expand("Your mkspec is including 'common/g++.conf', but the mkspecs have been refactored\\n\\tTo fix this include 'common/gcc-base-$${TARGET_PLATFORM}.conf and 'common/g++-$${TARGET_PLATFORM}.conf' instead"))
+
+# We include gcc-base-unix.conf and g++-unix.conf to keep the behavior of the old g++.conf
+include(gcc-base-unix.conf)
+include(g++-unix.conf)