summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
index fa147bb2096..ea15ec84d68 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile
@@ -8,6 +8,7 @@ ifeq "$(OS)" "Darwin"
LD_EXTRAS = -Xlinker -dead_strip
else ifeq "$(OS)" "Windows_NT"
CFLAGS_EXTRAS += /Gw /Gy
+ LD_EXTRAS = -Xlinker /OPT:REF
else
CFLAGS_EXTRAS += -fdata-sections -ffunction-sections
LD_EXTRAS = -Wl,--gc-sections
OpenPOWER on IntegriCloud