aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
blob: c60ecd41463537b42c226c8be9d4e9786f6c3827 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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