diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c9eb33..5df6332 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 0.4.3 (unreleased) - Fixed compilation error when `float8` is pass by reference +- Fixed compilation error on PowerPC - Fixed segmentation fault with index creation on i386 ## 0.4.2 (2023-05-13) diff --git a/Makefile b/Makefile index 7292da6..6f75c56 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,11 @@ ifeq ($(shell uname -s), Darwin) endif endif +# PowerPC doesn't support -march=native +ifneq ($(filter ppc64%, $(shell uname -m)), ) + OPTFLAGS = +endif + # For auto-vectorization: # - GCC (needs -ftree-vectorize OR -O3) - https://gcc.gnu.org/projects/tree-ssa/vectorization.html # - Clang (could use pragma instead) - https://llvm.org/docs/Vectorizers.html