add setvl
[simplev-cpp.git] / Makefile
index dd92083d01e2fc883ffd10b71f9086d7b3c6d725..80e96b620cf246c1b35b8d1618115495ed7a9a9e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
 
 CC = powerpc64le-linux-gnu-gcc
 CXX = powerpc64le-linux-gnu-g++
-CFLAGS = -O3 -Iinclude -g0
+CFLAGS = -O3 -Iinclude -g0 -mno-altivec -mno-vsx
 CXXFLAGS = -std=gnu++17
 
 all: tests
@@ -55,7 +55,7 @@ fix-tests: $(TESTS_FILTERED_OUT)
                [ "$(FORCE_FIX_TESTS)" = "$$target" ] || status="$$(git status --porcelain "$$target")"; \
                if [ -z "$$status" ]; then \
                        cp -v "$$i" "$$target"; \
-               else \
+               elif ! cmp "$$i" "$$target"; then \
                        echo "$$target has uncommitted changes, not overwriting -- commit changes or run make with FORCE_FIX_TESTS=$$target" >&2; \
                        exit 1; \
                fi; \