Remove redundant -arch flags

This commit is contained in:
Roman Venediktov 2024-07-04 10:49:15 +02:00
parent ad11588540
commit d13c559934
3 changed files with 4 additions and 17 deletions

View file

@ -2,20 +2,13 @@ TESTS=$(sort $(filter-out test02 test30, $(basename $(wildcard test*.lama))))
LAMAC=../../src/lamac
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
else ifeq ($(UNAME_S),Darwin)
ARCH = -arch x86_64
endif
.PHONY: check $(TESTS)
check: $(TESTS)
$(TESTS): %: %.lama
@echo "stdlib/regression/$@"
@LAMA=../../runtime $(LAMAC) -I .. -ds -dp $< && $(ARCH) ./$@ > $@.log && diff $@.log orig/$@.log
@LAMA=../../runtime $(LAMAC) -I .. -ds -dp $< && ./$@ > $@.log && diff $@.log orig/$@.log
clean:
$(RM) test*.log *.s *~ $(TESTS) *.i