diff options
Diffstat (limited to 'packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile')
-rw-r--r-- | packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile b/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile new file mode 100644 index 0000000..69dde1b --- /dev/null +++ b/packages/Python/lldbsuite/test/functionalities/data-formatter/stringprinter/Makefile @@ -0,0 +1,12 @@ +LEVEL = ../../../make +CXX_SOURCES := main.cpp +CXXFLAGS += -std=c++11 + +# clang-3.5+ outputs FullDebugInfo by default for Darwin/FreeBSD +# targets. Other targets do not, which causes this test to fail. +# This flag enables FullDebugInfo for all targets. +ifneq (,$(findstring clang,$(CC))) + CFLAGS_EXTRAS += -fno-limit-debug-info +endif + +include $(LEVEL)/Makefile.rules |