diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-05-10 10:32:31 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-06-21 09:14:23 +0200 |
commit | 7f3142fc5c57a741c61c7df9747e7148e7fdd8f6 (patch) | |
tree | ee96f1f57b64b502523744dda34c3ce423248710 | |
parent | a686dbfaa43cd13a252de59572cf10631332eb51 (diff) | |
download | rockbox-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.libs | 1 | ||||
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 3 |
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 | |||
28 | export TARGET_DIR | 28 | export TARGET_DIR |
29 | export RBBASE_DIR | 29 | export RBBASE_DIR |
30 | export CFLAGS=$(EXTRALIB_CFLAGS) | 30 | export CFLAGS=$(EXTRALIB_CFLAGS) |
31 | export CXXFLAGS=$(EXTRALIB_CXXFLAGS) | ||
31 | export CC=$(EXTRALIBS_CC) | 32 | export CC=$(EXTRALIBS_CC) |
32 | export CXX=$(EXTRALIBS_CXX) | 33 | export CXX=$(EXTRALIBS_CXX) |
33 | export AR=$(EXTRALIBS_AR) | 34 | export 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 { | |||
33 | MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) | 33 | MACHINEFLAGS = $$find(QMAKE_CFLAGS, -m[63][42]) |
34 | EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" | 34 | EXTRALIBS_OPTS += EXTRALIBS_CC=\"$$QMAKE_CC\" |
35 | EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\" | 35 | EXTRALIBS_OPTS += EXTRALIBS_CXX=\"$$QMAKE_CXX\" |
36 | EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" \ | 36 | EXTRALIBS_OPTS += EXTRALIB_CFLAGS=\"$$MACHINEFLAGS\" |
37 | EXTRALIBS_OPTS += EXTRALIB_CXXFLAGS=\"$$MACHINEFLAGS\" | ||
37 | 38 | ||
38 | MYBUILDDIR = $$OUT_PWD/build/ | 39 | MYBUILDDIR = $$OUT_PWD/build/ |
39 | MYLIBBUILDDIR = $$MYBUILDDIR/libs/ | 40 | MYLIBBUILDDIR = $$MYBUILDDIR/libs/ |