Skip to content

Commit 512b9b1

Browse files
committed
8196896: Use SYSROOT_CFLAGS in dtrace gensrc
Reviewed-by: erikj
1 parent 721ef76 commit 512b9b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make/hotspot/gensrc/GensrcDtrace.gmk

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ ifeq ($(call check-jvm-feature, dtrace), true)
4747
$(call LogInfo, Generating dtrace header file $(@F))
4848
$(call MakeDir, $(@D) $(DTRACE_SUPPORT_DIR))
4949
$(call ExecuteWithLog, $(DTRACE_SUPPORT_DIR)/$(@F).d, \
50-
($(CPP) $(DTRACE_CPP_FLAGS) $< > $(DTRACE_SUPPORT_DIR)/$(@F).d))
50+
($(CPP) $(DTRACE_CPP_FLAGS) $(SYSROOT_CFLAGS) $< > $(DTRACE_SUPPORT_DIR)/$(@F).d))
5151
$(call ExecuteWithLog, $@, $(DTRACE) $(DTRACE_FLAGS) -h -o $@ -s $(DTRACE_SUPPORT_DIR)/$(@F).d)
5252

5353
# Process all .d files in DTRACE_SOURCE_DIR. They are:

0 commit comments

Comments
 (0)