From bab287d1bab2c02b5fab3285f2678c15316d31c2 Mon Sep 17 00:00:00 2001 From: fanquake Date: Mon, 21 Mar 2022 09:54:51 +0000 Subject: depends: don't use -no_warning_for_no_symbols in macOS qt build Not supported by llvm-ar / llvm-ranlib. --- depends/patches/qt/no_warnings_for_symbols.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 depends/patches/qt/no_warnings_for_symbols.patch (limited to 'depends/patches') diff --git a/depends/patches/qt/no_warnings_for_symbols.patch b/depends/patches/qt/no_warnings_for_symbols.patch new file mode 100644 index 0000000000..11cdc599ed --- /dev/null +++ b/depends/patches/qt/no_warnings_for_symbols.patch @@ -0,0 +1,11 @@ +--- a/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf ++++ b/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf +@@ -1,7 +1,7 @@ + # Prevent warnings about object files without any symbols. This is a common + # thing in Qt as we tend to build files unconditionally, and then use ifdefs + # to compile out parts that are not relevant. +-QMAKE_RANLIB += -no_warning_for_no_symbols ++# QMAKE_RANLIB += -no_warning_for_no_symbols + + # We have to tell 'ar' to not run ranlib by itself + QMAKE_AR += -S -- cgit v1.2.3