test: correct flags for Windows
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 Dec 2019 04:20:20 +0000 (20:20 -0800)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 Dec 2019 04:21:26 +0000 (20:21 -0800)
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.

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

index 9c2ed18..fa147bb 100644 (file)
@@ -6,6 +6,8 @@ endif
 
 ifeq "$(OS)" "Darwin"
     LD_EXTRAS = -Xlinker -dead_strip
+else ifeq "$(OS)" "Windows_NT"
+    CFLAGS_EXTRAS += /Gw /Gy
 else
     CFLAGS_EXTRAS += -fdata-sections -ffunction-sections
     LD_EXTRAS = -Wl,--gc-sections