2011-04-27 10:05:43 +00:00
|
|
|
#
|
|
|
|
# Base qmake configuration for GCC on Mac OS X
|
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
|
2011-11-04 10:40:19 +00:00
|
|
|
QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__=4
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-05-11 08:03:49 +00:00
|
|
|
QMAKE_CFLAGS_DEBUG += -gdwarf-2
|
2011-04-27 10:05:43 +00:00
|
|
|
|
2012-05-11 08:03:49 +00:00
|
|
|
QMAKE_CXXFLAGS_DEBUG += -gdwarf-2
|
2011-04-27 10:05:43 +00:00
|
|
|
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS = $$QMAKE_CFLAGS
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
|
|
QMAKE_OBJECTIVE_CFLAGS_HIDESYMS = $$QMAKE_CXXFLAGS_HIDESYMS
|
|
|
|
|
2012-10-12 09:31:08 +00:00
|
|
|
QMAKE_LFLAGS += -headerpad_max_install_names
|
2011-04-27 10:05:43 +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}
|
|
|
|
QMAKE_LFLAGS_VERSION += -current_version$${LITERAL_WHITESPACE}
|
|
|
|
QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}
|
|
|
|
|