summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/mac/no_warn_empty_obj_files.prf
blob: 598938ab12c314ceb3bdf4652ed6cd0a386b0aaf (plain)
1
2
3
4
5
6
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

# We have to tell 'ar' to not run ranlib by itself
QMAKE_AR += -S