summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/dead-strip')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
index c39b681d187..4ce23f6b0fb 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
@@ -5,10 +5,10 @@ ifeq "$(OS)" ""
endif
ifeq "$(OS)" "Darwin"
- LDFLAGS = $(CFLAGS) -Xlinker -dead_strip
+ LD_EXTRAS := -Xlinker -dead_strip
else
- CFLAGS += -fdata-sections -ffunction-sections
- LDFLAGS = $(CFLAGS) -Wl,--gc-sections
+ CFLAGS_EXTRAS := -fdata-sections -ffunction-sections
+ LD_EXTRAS := -Wl,--gc-sections
endif
MAKE_DSYM := NO
OpenPOWER on IntegriCloud