Skip to content

Commit 242eeae

Browse files
committedSep 20, 2023
8286757: adlc tries to build with /pathmap but without /experimental:deterministic
Reviewed-by: jwaters, ihse
1 parent b275bdd commit 242eeae

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed
 

‎make/autoconf/flags-cflags.m4

+1
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,7 @@ AC_DEFUN([FLAGS_SETUP_CFLAGS_CPU_DEP],
818818
REPRODUCIBLE_CFLAGS=
819819
]
820820
)
821+
AC_SUBST(REPRODUCIBLE_CFLAGS)
821822
fi
822823
823824
# Prevent the __FILE__ macro from generating absolute paths into the built

‎make/autoconf/spec.gmk.in

+1
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,7 @@ LIBFFI_CFLAGS:=@LIBFFI_CFLAGS@
424424
ENABLE_LIBFFI_BUNDLING:=@ENABLE_LIBFFI_BUNDLING@
425425
LIBFFI_LIB_FILE:=@LIBFFI_LIB_FILE@
426426
FILE_MACRO_CFLAGS := @FILE_MACRO_CFLAGS@
427+
REPRODUCIBLE_CFLAGS := @REPRODUCIBLE_CFLAGS@
427428
BRANCH_PROTECTION_CFLAGS := @BRANCH_PROTECTION_CFLAGS@
428429

429430
STATIC_LIBS_CFLAGS := @STATIC_LIBS_CFLAGS@

‎make/hotspot/gensrc/GensrcAdlc.gmk

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ ifeq ($(call check-jvm-feature, compiler2), true)
6262
ADLC_CFLAGS += -I$(TOPDIR)/src/hotspot/share
6363

6464
# Add file macro mappings
65-
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS)
65+
ADLC_CFLAGS += $(FILE_MACRO_CFLAGS) $(REPRODUCIBLE_CFLAGS)
6666

6767
ifeq ($(UBSAN_ENABLED), true)
6868
ADLC_CFLAGS += $(UBSAN_CFLAGS)

0 commit comments

Comments
 (0)
Please sign in to comment.