mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
Fix huge bug in makefile prevent rust from building with debugging or with -O.
This commit is contained in:
parent
0096d119f0
commit
3de7a1e4f6
1 changed files with 2 additions and 2 deletions
|
@ -93,11 +93,11 @@ $(S)config.stamp : $(S)configure $(S)Makefile.in
|
||||||
ifneq ($(CFG_LOCAL_RUSTC),1)
|
ifneq ($(CFG_LOCAL_RUSTC),1)
|
||||||
$(CFG_RUSTC):
|
$(CFG_RUSTC):
|
||||||
@$(call E, building rustc)
|
@$(call E, building rustc)
|
||||||
$(Q)$(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS="" CC=gcc CXX=g++ LD=ld AR=ar
|
$(Q)CFG_RUSTC_FLAGS= CFG_ENABLE_DEBUG= RUSTFLAGS= $(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CC=gcc CXX=g++ LD=ld AR=ar
|
||||||
|
|
||||||
clean-rust:
|
clean-rust:
|
||||||
@$(call E, cleaning rustc)
|
@$(call E, cleaning rustc)
|
||||||
$(Q)$(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" CFG_RUSTC_FLAGS="" RUSTFLAGS="" clean
|
$(Q)CFG_RUSTC_FLAGS= CFG_ENABLE_DEBUG= RUSTFLAGS= $(MAKE) -C "$(CFG_BUILD_DIR)src/compiler/rust" clean
|
||||||
|
|
||||||
else
|
else
|
||||||
$(CFG_RUSTC):
|
$(CFG_RUSTC):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue