Skip to content

Commit 4d64467

Browse files
committed
8328079: JDK-8326583 broke ccache compilation
Reviewed-by: erikj, jwaters
1 parent 7e05a70 commit 4d64467

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

make/common/NativeCompilation.gmk

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -303,36 +303,36 @@ endef
303303
# Setup the toolchain variables
304304
define SetupToolchain
305305
ifeq ($$($1_TARGET_TYPE), BUILD)
306-
$$(call SetIfEmpty, $1_CC, $(BUILD_CC))
307-
$$(call SetIfEmpty, $1_CXX, $(BUILD_CXX))
308-
$$(call SetIfEmpty, $1_AR, $(BUILD_AR))
309-
$$(call SetIfEmpty, $1_LIB, $(BUILD_LIB))
310-
$$(call SetIfEmpty, $1_AS, $(BUILD_AS))
311-
$$(call SetIfEmpty, $1_OBJCOPY, $(BUILD_OBJCOPY))
312-
$$(call SetIfEmpty, $1_STRIP, $(BUILD_STRIP))
313-
$$(call SetIfEmpty, $1_SYSROOT_CFLAGS, $(BUILD_SYSROOT_CFLAGS))
314-
$$(call SetIfEmpty, $1_SYSROOT_LDFLAGS, $(BUILD_SYSROOT_LDFLAGS))
306+
$$(call SetIfEmpty, $1_CC, $$(BUILD_CC))
307+
$$(call SetIfEmpty, $1_CXX, $$(BUILD_CXX))
308+
$$(call SetIfEmpty, $1_AR, $$(BUILD_AR))
309+
$$(call SetIfEmpty, $1_LIB, $$(BUILD_LIB))
310+
$$(call SetIfEmpty, $1_AS, $$(BUILD_AS))
311+
$$(call SetIfEmpty, $1_OBJCOPY, $$(BUILD_OBJCOPY))
312+
$$(call SetIfEmpty, $1_STRIP, $$(BUILD_STRIP))
313+
$$(call SetIfEmpty, $1_SYSROOT_CFLAGS, $$(BUILD_SYSROOT_CFLAGS))
314+
$$(call SetIfEmpty, $1_SYSROOT_LDFLAGS, $$(BUILD_SYSROOT_LDFLAGS))
315315
ifeq ($$($1_LINK_TYPE), C++)
316-
$$(call SetIfEmpty, $1_LD, $(BUILD_LDCXX))
316+
$$(call SetIfEmpty, $1_LD, $$(BUILD_LDCXX))
317317
else
318-
$$(call SetIfEmpty, $1_LD, $(BUILD_LD))
318+
$$(call SetIfEmpty, $1_LD, $$(BUILD_LD))
319319
endif
320320
else
321-
$$(call SetIfEmpty, $1_CC, $(CC))
322-
$$(call SetIfEmpty, $1_CXX, $(CXX))
323-
$$(call SetIfEmpty, $1_AR, $(AR))
324-
$$(call SetIfEmpty, $1_LIB, $(LIB))
325-
$$(call SetIfEmpty, $1_AS, $(AS))
326-
$$(call SetIfEmpty, $1_MT, $(MT))
327-
$$(call SetIfEmpty, $1_RC, $(RC))
328-
$$(call SetIfEmpty, $1_OBJCOPY, $(OBJCOPY))
329-
$$(call SetIfEmpty, $1_STRIP, $(STRIP))
330-
$$(call SetIfEmpty, $1_SYSROOT_CFLAGS, $(SYSROOT_CFLAGS))
331-
$$(call SetIfEmpty, $1_SYSROOT_LDFLAGS, $(SYSROOT_LDFLAGS))
321+
$$(call SetIfEmpty, $1_CC, $$(CC))
322+
$$(call SetIfEmpty, $1_CXX, $$(CXX))
323+
$$(call SetIfEmpty, $1_AR, $$(AR))
324+
$$(call SetIfEmpty, $1_LIB, $$(LIB))
325+
$$(call SetIfEmpty, $1_AS, $$(AS))
326+
$$(call SetIfEmpty, $1_MT, $$(MT))
327+
$$(call SetIfEmpty, $1_RC, $$(RC))
328+
$$(call SetIfEmpty, $1_OBJCOPY, $$(OBJCOPY))
329+
$$(call SetIfEmpty, $1_STRIP, $$(STRIP))
330+
$$(call SetIfEmpty, $1_SYSROOT_CFLAGS, $$(SYSROOT_CFLAGS))
331+
$$(call SetIfEmpty, $1_SYSROOT_LDFLAGS, $$(SYSROOT_LDFLAGS))
332332
ifeq ($$($1_LINK_TYPE), C++)
333-
$$(call SetIfEmpty, $1_LD, $(LDCXX))
333+
$$(call SetIfEmpty, $1_LD, $$(LDCXX))
334334
else
335-
$$(call SetIfEmpty, $1_LD, $(LD))
335+
$$(call SetIfEmpty, $1_LD, $$(LD))
336336
endif
337337
endif
338338
endef

0 commit comments

Comments
 (0)