summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure3
-rw-r--r--mkspecs/qws/linux-ppc-g++/qmake.conf11
2 files changed, 11 insertions, 3 deletions
diff --git a/configure b/configure
index c521bad..8ef8ad0 100755
--- a/configure
+++ b/configure
@@ -2313,9 +2313,6 @@ if [ "$CFG_EMBEDDED" != "no" ]; then
*86_64)
PLATFORM=qws/linux-x86_64-g++
;;
- *ppc)
- PLATFORM=qws/linux-ppc-g++
- ;;
*)
PLATFORM=qws/linux-generic-g++
;;
diff --git a/mkspecs/qws/linux-ppc-g++/qmake.conf b/mkspecs/qws/linux-ppc-g++/qmake.conf
index a026e88..e1926b4 100644
--- a/mkspecs/qws/linux-ppc-g++/qmake.conf
+++ b/mkspecs/qws/linux-ppc-g++/qmake.conf
@@ -6,4 +6,15 @@ 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)