8013785: Respect EXTRA_CFLAGS on windows

Reviewed-by: mgronlun, rbackman, kvn
This commit is contained in:
Staffan Larsen 2013-05-03 12:26:15 +02:00
parent cd65b9e32e
commit 1f2075c0e4
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ CXX=cl.exe
# improving the quality of crash log stack traces involving jvm.dll. # improving the quality of crash log stack traces involving jvm.dll.
# These are always used in all compiles # These are always used in all compiles
CXX_FLAGS=/nologo /W3 /WX CXX_FLAGS=$(EXTRA_CFLAGS) /nologo /W3 /WX
# Let's add debug information when Full Debug Symbols is enabled # Let's add debug information when Full Debug Symbols is enabled
!if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1" !if "$(ENABLE_FULL_DEBUG_SYMBOLS)" == "1"

View File

@ -193,7 +193,7 @@ ifdef COOKED_BUILD_NUMBER
MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER) MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
endif endif
NMAKE= MAKEFLAGS= MFLAGS= nmake -NOLOGO NMAKE= MAKEFLAGS= MFLAGS= EXTRA_CFLAGS="$(EXTRA_CFLAGS)" nmake -NOLOGO
ifndef SYSTEM_UNAME ifndef SYSTEM_UNAME
SYSTEM_UNAME := $(shell uname) SYSTEM_UNAME := $(shell uname)
export SYSTEM_UNAME export SYSTEM_UNAME