From ffd9ce19025f34d887f2f77f49c29ac7166e3ed2 Mon Sep 17 00:00:00 2001 From: Zack Middleton Date: Sat, 12 May 2018 13:27:08 -0500 Subject: [PATCH] Limit -maltivec to specific source files on OpenBSD too (untested) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9d9757a5..99000790 100644 --- a/Makefile +++ b/Makefile @@ -770,11 +770,11 @@ ifeq ($(PLATFORM),openbsd) HAVE_VM_COMPILED=true else ifeq ($(ARCH),ppc) - BASE_CFLAGS += -maltivec + ALTIVEC_CFLAGS = -maltivec HAVE_VM_COMPILED=true endif ifeq ($(ARCH),ppc64) - BASE_CFLAGS += -maltivec + ALTIVEC_CFLAGS = -maltivec HAVE_VM_COMPILED=true endif ifeq ($(ARCH),sparc64)