From 09977ff289a3e01caf82c3293900602addf5bd41 Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Tue, 1 Feb 2022 09:25:04 -0600 Subject: [PATCH] Ensure both platforms are built in libtest --- libtest/GNUmakefile | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libtest/GNUmakefile b/libtest/GNUmakefile index 83ca0a87..77dee7f4 100644 --- a/libtest/GNUmakefile +++ b/libtest/GNUmakefile @@ -64,13 +64,7 @@ endif ifeq ($(OS), darwin) CC = gcc - ifneq ($(findstring $(CPU), x86_64),) - ARCHFLAGS = -arch x86_64 - endif - ifneq ($(findstring $(CPU), arm64),) - ARCHFLAGS = -arch arm64 - endif - + ARCHFLAGS = -arch x86_64 -arch arm64 CFLAGS += -fno-common $(ARCHFLAGS) LDFLAGS = $(ARCHFLAGS) -dynamiclib LIBEXT = dylib