Skip to content

Commit

Permalink
Ensure both platforms are built in libtest
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Feb 1, 2022
1 parent 5819474 commit 09977ff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions libtest/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 09977ff

Please sign in to comment.