summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/qws/linux-powerpc-g++/qmake.conf20
-rw-r--r--mkspecs/qws/linux-powerpc-g++/qplatformdefs.h (renamed from mkspecs/qws/linux-ppc-g++/qplatformdefs.h)0
-rw-r--r--mkspecs/qws/linux-ppc-g++/qmake.conf9
3 files changed, 20 insertions, 9 deletions
diff --git a/mkspecs/qws/linux-powerpc-g++/qmake.conf b/mkspecs/qws/linux-powerpc-g++/qmake.conf
new file mode 100644
index 0000000..e1926b4
--- /dev/null
+++ b/mkspecs/qws/linux-powerpc-g++/qmake.conf
@@ -0,0 +1,20 @@
+#
+# qmake configuration for building with g++
+#
+
+include(../../common/g++.conf)
+include(../../common/linux.conf)
+include(../../common/qws.conf)
+
+# modifications to g++.conf
+QMAKE_CC = powerpc-linux-gcc
+QMAKE_CXX = powerpc-linux-g++
+QMAKE_LINK = powerpc-linux-g++
+QMAKE_LINK_SHLIB = powerpc-linux-g++
+
+# modifications to linux.conf
+QMAKE_AR = powerpc-linux-ar cqs
+QMAKE_OBJCOPY = powerpc-linux-objcopy
+QMAKE_STRIP = powerpc-linux-strip
+
+load(qt_config)
diff --git a/mkspecs/qws/linux-ppc-g++/qplatformdefs.h b/mkspecs/qws/linux-powerpc-g++/qplatformdefs.h
index 60e0f5e..60e0f5e 100644
--- a/mkspecs/qws/linux-ppc-g++/qplatformdefs.h
+++ b/mkspecs/qws/linux-powerpc-g++/qplatformdefs.h
diff --git a/mkspecs/qws/linux-ppc-g++/qmake.conf b/mkspecs/qws/linux-ppc-g++/qmake.conf
deleted file mode 100644
index a026e88..0000000
--- a/mkspecs/qws/linux-ppc-g++/qmake.conf
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# qmake configuration for building with g++
-#
-
-include(../../common/g++.conf)
-include(../../common/linux.conf)
-include(../../common/qws.conf)
-
-load(qt_config)