Skip to content

Commit 4b0563f

Browse files
committed
test: correct flags for Windows
Adjust the flags for the LLDB test on Windows. This test was previously not running, but after the fix to the python detection, we now run this.
1 parent 1399281 commit 4b0563f

File tree

1 file changed

+2
-0
lines changed
  • lldb/packages/Python/lldbsuite/test/functionalities/dead-strip

1 file changed

+2
-0
lines changed

lldb/packages/Python/lldbsuite/test/functionalities/dead-strip/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ endif
66

77
ifeq "$(OS)" "Darwin"
88
LD_EXTRAS = -Xlinker -dead_strip
9+
else ifeq "$(OS)" "Windows_NT"
10+
CFLAGS_EXTRAS += /Gw /Gy
911
else
1012
CFLAGS_EXTRAS += -fdata-sections -ffunction-sections
1113
LD_EXTRAS = -Wl,--gc-sections

0 commit comments

Comments
 (0)