summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-05-10 10:32:31 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-06-21 09:14:23 +0200
commit7f3142fc5c57a741c61c7df9747e7148e7fdd8f6 (patch)
treeee96f1f57b64b502523744dda34c3ce423248710
parenta686dbfaa43cd13a252de59572cf10631332eb51 (diff)
downloadrockbox-7f3142fc5c57a741c61c7df9747e7148e7fdd8f6.tar.gz
rockbox-7f3142fc5c57a741c61c7df9747e7148e7fdd8f6.zip
rbutil: Fix compiling 32bit Rockbox Utility on 64bit Linux.
Pass the machine options for libs to the c++ compiler as well. Change-Id: I56bfbbe4aca4b3a7b86bb0d5323a1f7d78d4f60c
-rw-r--r--rbutil/rbutilqt/Makefile.libs1
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro3
2 files changed, 3 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/Makefile.libs b/rbutil/rbutilqt/Makefile.libs
index 24fe85e269..6d5c8c5354 100644
--- a/rbutil/rbutilqt/Makefile.libs
+++ b/rbutil/rbutilqt/Makefile.libs
@@ -28,6 +28,7 @@ export SYS_SPEEX
28export TARGET_DIR 28export TARGET_DIR
29export RBBASE_DIR 29export RBBASE_DIR
30export CFLAGS=$(EXTRALIB_CFLAGS) 30export CFLAGS=$(EXTRALIB_CFLAGS)
31export CXXFLAGS=$(EXTRALIB_CXXFLAGS)
31export CC=$(EXTRALIBS_CC) 32export CC=$(EXTRALIBS_CC)
32export CXX=$(EXTRALIBS_CXX) 33export CXX=$(EXTRALIBS_CXX)
33export AR=$(EXTRALIBS_AR) 34export AR=$(EXTRALIBS_AR)
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index a845c3ca36..f51d3608b3 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -33,7 +33,8 @@ unix:!mac:!noccache {
33MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) 33MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42])
34EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" 34EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\"
35EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\" 35EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\"
36EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \ 36EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\"
37EXTRALIBS_OPTS += EXTRALIB_CXXFLAGS=\"$$MACHINEFLAGS\"
37 38
38MYBUILDDIR = $$OUT_PWD/build/ 39MYBUILDDIR = $$OUT_PWD/build/
39MYLIBBUILDDIR = $$MYBUILDDIR/libs/ 40MYLIBBUILDDIR = $$MYBUILDDIR/libs/