blob: f61a6300a994e211357f94b4214a9e7d1fc0bf67 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
LEVEL = ../../../make
CXX_SOURCES := main.cpp
CFLAGS := -g -O0
clean: OBJECTS+=$(wildcard main.d.*)
# 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
|