blob: 7fe01d004f03c499cf5ab2caea0b53fba82c1afb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
LEVEL = ../../../../../make
CXX_SOURCES := main.cpp
CFLAGS_EXTRAS += -O0
USE_LIBSTDCPP := 1
# 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
|