Skip to content

Commit

Permalink
force native comp
Browse files Browse the repository at this point in the history
  • Loading branch information
joebraley committed Oct 17, 2023
1 parent b22dd9a commit 9e62946
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions make/autoconf/platform.m4
Original file line number Diff line number Diff line change
Expand Up @@ -373,12 +373,12 @@ AC_DEFUN([PLATFORM_SETUP_TARGET_CPU_BITS],
# cross == traditional cross compilation, target system != build system; special toolchain needed
# reduced == using native compilers, but with special flags (e.g. -m32) to produce 32-bit builds on 64-bit machines
#
if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
# We're doing a proper cross-compilation
COMPILE_TYPE="cross"
else
COMPILE_TYPE="native"
fi
# if test "x$OPENJDK_BUILD_AUTOCONF_NAME" != "x$OPENJDK_TARGET_AUTOCONF_NAME"; then
# # We're doing a proper cross-compilation
# COMPILE_TYPE="cross"
# else
COMPILE_TYPE="native"
# fi
if test "x$with_target_bits" != x; then
if test "x$COMPILE_TYPE" = "xcross"; then
Expand Down
3 changes: 3 additions & 0 deletions make/gensrc/GensrcCLDR.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ TZDATA_DIR := $(TOPDIR)/make/data/tzdata
# tzmappings generation for Windows.
# Since the rule is shared with CLDR_BASEMETAINFO_FILE target, note that
# just removing the target tzmappings will not recreate the tzmappings file.
$(call LogInfo, GENSRC_DIR IS: $(GENSRC_DIR))
$(call LogInfo, OpenJDK target OS is: $(OPENJDK_TARGET_OS))
$(call LogInfo, ATTEMPTING TO CREATE TZDATA NOW)
ifeq ($(OPENJDK_TARGET_OS), windows)
CLDR_WINTZMAPPINGS := $(GENSRC_BASEDIR)/windows/conf/tzmappings
$(CLDR_WINTZMAPPINGS): $(CLDR_BASEMETAINFO_FILE)
Expand Down Expand Up @@ -68,5 +70,6 @@ $(CLDR_METAINFO_FILE): $(wildcard $(CLDRSRCDIR)/dtd/*.dtd) \
-baselocales $(CLDR_BASE_LOCALES) \
-o $(GENSRC_DIR)

$(call LogInfo, CLDR_WINTZMAPPINGS IS SET TO $(CLDR_WINTZMAPPINGS))
GENSRC_JAVA_BASE += $(CLDR_BASEMETAINFO_FILE) $(CLDR_WINTZMAPPINGS)
GENSRC_JDK_LOCALEDATA += $(CLDR_METAINFO_FILE)

0 comments on commit 9e62946

Please sign in to comment.