gcc-base-mac.conf 852 B

1234567891011121314151617181920212223
  1. #
  2. # Base qmake configuration for GCC on OS X and iOS
  3. #
  4. # Before making changes to this file, please read the comment in
  5. # gcc-base.conf, to make sure the change goes in the right place.
  6. #
  7. # To verify that your change has the desired effect on the final configuration
  8. # you can use the manual test in tests/manual/mkspecs.
  9. #
  10. include(gcc-base.conf)
  11. QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__=4 __APPLE_CC__
  12. QMAKE_LFLAGS += -headerpad_max_install_names
  13. QMAKE_LFLAGS_SHLIB += -single_module -dynamiclib
  14. QMAKE_LFLAGS_PLUGIN += $$QMAKE_LFLAGS_SHLIB
  15. QMAKE_LFLAGS_INCREMENTAL += -undefined suppress -flat_namespace
  16. QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}
  17. QMAKE_LFLAGS_VERSION += -current_version$${LITERAL_WHITESPACE}
  18. QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}