mirror of
https://github.com/textmate/textmate.git
synced 2026-01-22 05:07:54 -05:00
Basically libraries referenced indirectly will be setup as a requirement of the target and this option strips that. Doesn’t really matter, but enabling it rather than deleting the line (which was previously commented).
36 lines
1.3 KiB
Plaintext
36 lines
1.3 KiB
Plaintext
PLIST_FLAGS = -d'APP_NAME=$APP_NAME' -d'APP_VERSION=$APP_VERSION' -d'APP_REVISION=$APP_REVISION' -d'APP_MIN_OS=$APP_MIN_OS'
|
|
|
|
FLAGS += -c -pipe -fPIC -gdwarf-2
|
|
FLAGS += -m64 -mmacosx-version-min=$APP_MIN_OS -isysroot "$sdk"
|
|
FLAGS += -funsigned-char -fvisibility=hidden
|
|
FLAGS += -D'NULL_STR="\uFFFF"'
|
|
FLAGS += -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch
|
|
FLAGS += -Wno-address-of-temporary
|
|
FLAGS += -IShared/include
|
|
FLAGS += -fcolor-diagnostics
|
|
|
|
# FLAGS += -D_GLIBCXX_DEBUG
|
|
FLAGS += -DNDEBUG -Os
|
|
# LINK = OakDebug
|
|
|
|
CXX_FLAGS += -std=c++11 -stdlib=libc++
|
|
OBJC_FLAGS += -fobjc-arc -Xclang -fobjc-default-synthesize-properties -std=c99 -fobjc-abi-version=3
|
|
OBJCXX_FLAGS += -std=c++11 -stdlib=libc++ -fobjc-abi-version=3
|
|
OBJCXX_FLAGS += -fobjc-arc -Xclang -fobjc-default-synthesize-properties -fobjc-call-cxx-cdtors
|
|
LIBS += c++
|
|
|
|
LN_FLAGS += -m64 -mmacosx-version-min=$APP_MIN_OS -isysroot "$sdk"
|
|
LN_FLAGS += -fobjc-arc-cxxlib=libc++
|
|
LN_FLAGS += -fvisibility=hidden
|
|
LN_FLAGS += -Wl,-dead_strip
|
|
LN_FLAGS += -Wl,-dead_strip_dylibs
|
|
LN_FLAGS += -fobjc-link-runtime
|
|
|
|
PRELUDE = Shared/PCH/prelude.*
|
|
|
|
TARGETS = vendor/target
|
|
TARGETS += Frameworks/target
|
|
TARGETS += Applications/target
|
|
TARGETS += QuickLook/TextMate/target
|
|
TARGETS += PlugIns/*/*.target
|