Skip to content

Commit

Permalink
Revert options
Browse files Browse the repository at this point in the history
  • Loading branch information
psoujany committed Oct 28, 2024
1 parent 9162d92 commit 32c5ddf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ endif
export LIB_DIR:=$(subst \,/,$(LIB_DIR))
$(info LIB_DIR is set to $(LIB_DIR))

ifeq ($(UNAME), OS/390)
ifeq ($(shell test $(JDK_VERSION) -ge 21; echo $$?),0)
JVM_OPTIONS:= "-Dfile.encoding=IBM-1047"
endif
endif

_TESTTARGET = $(firstword $(MAKECMDGOALS))
TESTTARGET = $(patsubst _%,%,$(_TESTTARGET))

Expand Down Expand Up @@ -82,13 +88,7 @@ compile: buildListGen
# If AUTO_DETECT is turned on, compile and execute envDetector in build_envInfo.xml.
#######################################
envDetect: compileTools
ifeq ($(UNAME), OS/390)
ifeq ($(shell test $(JDK_VERSION) -ge 21; echo $$?),0)
${TEST_JDK_HOME}$(D)bin$(D)java -Dfile.encoding=IBM-1047 -cp .$(D)bin$(D)TestKitGen.jar org.openj9.envInfo.EnvDetector
else
${TEST_JDK_HOME}$(D)bin$(D)java -cp .$(D)bin$(D)TestKitGen.jar org.openj9.envInfo.EnvDetector
endif
endif
${TEST_JDK_HOME}$(D)bin$(D)java ${JVM_OPTIONS} -cp .$(D)bin$(D)TestKitGen.jar org.openj9.envInfo.EnvDetector

#######################################
# Generate refined BUILD_LIST.
Expand Down

0 comments on commit 32c5ddf

Please sign in to comment.