fix: macOS build, once more

This commit is contained in:
Sebastian Ullrich 2021-10-09 10:24:30 +02:00
parent 1f1dc0b471
commit 2ab8a38daa

View file

@ -83,9 +83,9 @@ ifdef CMAKE_LIKE_OUTPUT
@echo "[ ] Linking $@"
endif
ifdef PROFILE
\time -f "%U %S" $(LEANC) -o "$@" $^ $(LINK_OPTS) 2>&1 > /dev/null | awk '{ printf "C linking %fs\n", $$1 + $$2 }' > /dev/stderr
\time -f "%U %S" $(LEANC) -o "$@" $^ $(LEANC_OPTS) $(LINK_OPTS) 2>&1 > /dev/null | awk '{ printf "C linking %fs\n", $$1 + $$2 }' > /dev/stderr
else
$(LEANC) -o "$@" $^ $(LINK_OPTS)
$(LEANC) -o "$@" $^ $(LEANC_OPTS) $(LINK_OPTS)
endif
$(LIB_OUT)/$(STATIC_LIB_NAME): $(addprefix $(TEMP_OUT)/,$(SRCS:.lean=.o)) | $(LIB_OUT)