Skip to content

Commit df42736

Browse files
committed
Avoid Visual Studio linker warning
Now uses the same basic flags for building build tools as it does for compiling other objects.
1 parent ff8fff2 commit df42736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/common

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ else ifeq ($(BUILD_ENV_),MSVC)
138138
CP_CXXFLAGS +=
139139
LINKLIB = lib /NOLOGO /OUT:$@ $^
140140
LINKBIN = $(CXX) $(LINKFLAGS) /Fe$@ $^ $(LIBS)
141-
LINKNATIVE = $(HOSTCXX) /Fe$@ $^
141+
LINKNATIVE = $(HOSTCXX) /Fe$@ /nologo /EHsc $^
142142
ifeq ($(origin CC),default)
143143
CC = cl
144144
endif

0 commit comments

Comments
 (0)