Added missing SBLanguageRuntime.h to lldb.xcodeproj, set to Public (fixed compile error in TestPublicAPIHeaders) Removed reference to (temporarily) missing gtest.xcodeproj Fixed TestDeadStrip compile error XFAIL TestPublicAPIHeaders - test passes but teardown command 'settings remove target.env-vars DYLD_LIBRARY_PATH' fails XFAIL TestCModules - use of undeclared identifier 'MIN' XFAIL TestModulesAutoImport - clang: error: unknown argument: '-gmodules' XFAIL TestObjCNewSyntax - expr -- @((char*)"Hello world" + 6) cannot box a string value because NSString has not been declared http://reviews.llvm.org/D9643 llvm-svn: 237085
19 lines
311 B
Makefile
19 lines
311 B
Makefile
LEVEL = ../../make
|
|
|
|
C_SOURCES := main.c
|
|
|
|
ifeq "$(OS)" ""
|
|
OS = $(shell uname -s)
|
|
endif
|
|
|
|
ifeq "$(OS)" "Darwin"
|
|
LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
|
|
else
|
|
CFLAGS += -fdata-sections -ffunction-sections
|
|
LDFLAGS = $(CFLAGS) -Wl,--gc-sections
|
|
endif
|
|
|
|
MAKE_DSYM := NO
|
|
|
|
include $(LEVEL)/Makefile.rules
|