Skip to content

Commit

Permalink
Avoid Visual Studio linker warning
Browse files Browse the repository at this point in the history
Now uses the same basic flags for building build tools as it does for compiling
other objects.
  • Loading branch information
tautschnig committed Jun 9, 2018
1 parent 63acc5b commit 1cb3d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ else ifeq ($(BUILD_ENV_),MSVC)
CP_CXXFLAGS +=
LINKLIB = lib /NOLOGO /OUT:$@ $^
LINKBIN = $(CXX) $(LINKFLAGS) /Fe$@ $^ $(LIBS)
LINKNATIVE = $(HOSTCXX) /Fe$@ $^
LINKNATIVE = $(HOSTCXX) /Fe$@ /nologo /EHsc $^
ifeq ($(origin CC),default)
CC = cl
endif
Expand Down

0 comments on commit 1cb3d4d

Please sign in to comment.