File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ $(package)_patches += no-xlib.patch
15
15
$(package)_patches += fix_android_jni_static.patch
16
16
$(package)_patches += dont_hardcode_pwd.patch
17
17
$(package)_patches += qtbase-moc-ignore-gcc-macro.patch
18
+ $(package)_patches += no_warnings_for_symbols.patch
18
19
$(package)_patches += rcc_hardcode_timestamp.patch
19
20
$(package)_patches += duplicate_lcqpafonts.patch
20
21
$(package)_patches += guix_cross_lib_path.patch
@@ -247,6 +248,7 @@ define $(package)_preprocess_cmds
247
248
patch -p1 -i $($(package ) _patch_dir) /no-xlib.patch && \
248
249
patch -p1 -i $($(package ) _patch_dir) /qtbase-moc-ignore-gcc-macro.patch && \
249
250
patch -p1 -i $($(package ) _patch_dir) /memory_resource.patch && \
251
+ patch -p1 -i $($(package ) _patch_dir) /no_warnings_for_symbols.patch && \
250
252
patch -p1 -i $($(package ) _patch_dir) /rcc_hardcode_timestamp.patch && \
251
253
patch -p1 -i $($(package ) _patch_dir) /duplicate_lcqpafonts.patch && \
252
254
patch -p1 -i $($(package ) _patch_dir) /utc_from_string_no_optimize.patch && \
Original file line number Diff line number Diff line change
1
+ --- a/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf
2
+ +++ b/qtbase/mkspecs/features/mac/no_warn_empty_obj_files.prf
3
+ @@ -1,7 +1,7 @@
4
+ # Prevent warnings about object files without any symbols. This is a common
5
+ # thing in Qt as we tend to build files unconditionally, and then use ifdefs
6
+ # to compile out parts that are not relevant.
7
+ - QMAKE_RANLIB += -no_warning_for_no_symbols
8
+ + # QMAKE_RANLIB += -no_warning_for_no_symbols
9
+
10
+ # We have to tell 'ar' to not run ranlib by itself
11
+ QMAKE_AR += -S
You can’t perform that action at this time.
0 commit comments