File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -104,15 +104,13 @@ ifeq (false,$(WARNINGS_AS_ERRORS_OPENJ9))
104
104
export UMA_SUPPRESS_WARNINGS_AS_ERRORS := 1
105
105
endif
106
106
107
- ifeq (windows,$(OPENJDK_TARGET_OS) )
107
+ ifeq ($(call isTargetOs, windows), true )
108
108
# convert windows path to unix path
109
109
UnixPath = $(shell $(PATHTOOL) -u $1)
110
- # set Visual Studio environment
111
- # wrap PATH in quotes as it contains spaces (unix path)
112
- EXPORT_COMPILER_ENV_VARS := PATH="$(PATH)"
113
- else ifeq (zos,$(OPENJDK_TARGET_OS))
110
+ EXPORT_COMPILER_ENV_VARS :=
111
+ else ifeq ($(call isTargetOs, zos), true)
114
112
UnixPath = $1
115
- # Allow options to follow the input file name
113
+ # allow options to follow the input file name
116
114
EXPORT_COMPILER_ENV_VARS := _CC_CCMODE=1 _C89_CCMODE=1 _CXX_CCMODE=1
117
115
else
118
116
UnixPath = $1
You can’t perform that action at this time.
0 commit comments