summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-03-08 18:49:02 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2022-03-09 13:44:24 +0100
commit319433dd8e74242a703d0c72a9eb14849e018e16 (patch)
tree1fa448c72a03a9dea34c7cbd6f6ab30f420a33e1
parentff7592f3753992c40fb7b7b13062b6aa6f7f0b67 (diff)
macOS: Pass multi arch flags when linking qmake
Amends e8946771862bcf3efc59b8edca0b9974afff8d1a. We were building all the sources with multiple archs, but not when linking the final executable. Change-Id: I4f1110ff42bc5118b775761b6719f42b09622d40 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index b6c334e9fe..a356427631 100755
--- a/configure
+++ b/configure
@@ -787,6 +787,7 @@ setBootstrapVariable()
echo "EXTRA_CXXFLAGS += -MMD" >> "$mkfile"
for arch in $QMAKE_APPLE_DEVICE_ARCHS; do
echo "EXTRA_CXXFLAGS += -arch $arch" >> "$mkfile"
+ echo "EXTRA_LFLAGS += -arch $arch" >> "$mkfile"
done
cat "$in_mkfile" >> "$mkfile"
echo "-include \$(notdir \$(DEPEND_SRC:%.cpp=%.d))" >> "$mkfile"