File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -346,19 +346,22 @@ else
346
346
CFG_VALGRIND_COMPILE$(1) = $$(CFG_VALGRIND_COMPILE )
347
347
endif
348
348
349
+ # Add RUSTFLAGS_STAGEN values to the build command
350
+ EXTRAFLAGS_STAGE$(1 ) = $$(RUSTFLAGS_STAGE$(1 ) )
351
+
349
352
STAGE$(1 ) _T_$(2 ) _H_$(3 ) := \
350
353
$$(Q )$$(call CFG_RUN_TARG,$(1 ) , \
351
354
$$(CFG_VALGRIND_COMPILE$(1 ) ) \
352
355
$$(HBIN$(1 ) _H_$(3 ) ) /rustc$$(X ) \
353
356
--cfg stage$(1 ) \
354
- $$(CFG_RUSTC_FLAGS ) --target=$(2 ) )
357
+ $$(CFG_RUSTC_FLAGS ) $$( EXTRAFLAGS_STAGE $( 1 ) ) --target=$(2 ) )
355
358
356
359
PERF_STAGE$(1 ) _T_$(2 ) _H_$(3 ) := \
357
360
$$(Q )$$(call CFG_RUN_TARG,$(1 ) , \
358
361
$$(CFG_PERF_TOOL ) \
359
362
$$(HBIN$(1 ) _H_$(3 ) ) /rustc$$(X ) \
360
363
--cfg stage$(1 ) \
361
- $$(CFG_RUSTC_FLAGS ) --target=$(2 ) )
364
+ $$(CFG_RUSTC_FLAGS ) $$( EXTRAFLAGS_STAGE $( 1 ) ) --target=$(2 ) )
362
365
363
366
endef
364
367
You can’t perform that action at this time.
0 commit comments