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.
This commit is contained in:
Saleem Abdulrasool 2019-12-23 20:20:20 -08:00
parent 1399281d58
commit 4b0563f89f
1 changed files with 2 additions and 0 deletions

View 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