diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-03-08 18:49:02 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-03-09 13:44:24 +0100 |
commit | 319433dd8e74242a703d0c72a9eb14849e018e16 (patch) | |
tree | 1fa448c72a03a9dea34c7cbd6f6ab30f420a33e1 | |
parent | ff7592f3753992c40fb7b7b13062b6aa6f7f0b67 (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-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |