2011-04-27 10:05:43 +00:00
|
|
|
#
|
2013-07-09 14:07:07 +00:00
|
|
|
# Base qmake configuration for GCC on OS X and iOS
|
2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Before making changes to this file, please read the comment in
|
|
|
|
# gcc-base.conf, to make sure the change goes in the right place.
|
|
|
|
#
|
|
|
|
# To verify that your change has the desired effect on the final configuration
|
|
|
|
# you can use the manual test in tests/manual/mkspecs.
|
|
|
|
#
|
|
|
|
|
|
|
|
include(gcc-base.conf)
|
|
|
|
|
2015-03-04 18:01:58 +00:00
|
|
|
QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__=4 __APPLE_CC__
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS_SHLIB += -single_module -dynamiclib
|
|
|
|
QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
|
|
|
|
QMAKE_LFLAGS_INCREMENTAL += -undefined suppress -flat_namespace
|
|
|
|
QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}
|
2016-08-19 03:40:38 +00:00
|
|
|
QMAKE_LFLAGS_HEADERPAD += -headerpad_max_install_names
|
2013-03-19 01:57:31 +00:00
|
|
|
QMAKE_LFLAGS_VERSION += -current_version$${LITERAL_WHITESPACE}
|
2011-04-27 10:05:43 +00:00
|
|
|
QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}
|
|
|
|
|