File: gcc-base-mac.conf

package info (click to toggle)
qtbase-opensource-src-gles 5.15.17%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 350,016 kB
  • sloc: cpp: 2,097,621; ansic: 343,242; xml: 115,491; python: 9,447; java: 7,499; asm: 4,023; sh: 2,086; perl: 2,047; yacc: 1,687; lex: 1,333; javascript: 878; makefile: 260; objc: 70
file content (25 lines) | stat: -rw-r--r-- 962 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#
# Base qmake configuration for GCC on OS X and iOS
#
# 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.
#

QMAKE_CFLAGS_PIC            = -fPIC

include(gcc-base.conf)

QMAKE_COMPILER_DEFINES += __APPLE__ __GNUC__=4 __APPLE_CC__

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_HEADERPAD     += -headerpad_max_install_names
QMAKE_LFLAGS_VERSION       += -current_version$${LITERAL_WHITESPACE}
QMAKE_LFLAGS_COMPAT_VERSION += -compatibility_version$${LITERAL_WHITESPACE}

QMAKE_CFLAGS_ARCH_HASWELL = -Xarch_x86_64 $$QMAKE_CFLAGS_ARCH_HASWELL