chore(library/Makefile): use C backend
This commit is contained in:
parent
09d8dd536c
commit
6afded1104
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ depends: $(DEPS)
|
|||
|
||||
%.olean: %.lean %.depend
|
||||
@mkdir -p $(STAGE1_DIR)/$(@D)
|
||||
$(LEAN) $(OPTS) --make --cpp="$(STAGE1_DIR)/$*.cpp.tmp" $<
|
||||
$(LEAN) $(OPTS) --make --c="$(STAGE1_DIR)/$*.cpp.tmp" $<
|
||||
# create the .cpp file atomically
|
||||
mv "$(STAGE1_DIR)/$*.cpp.tmp" "$(STAGE1_DIR)/$*.cpp"
|
||||
# make sure the .olean file is newer than the .depend file to prevent infinite make cycles
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue