Skip to content

Commit

Permalink
use -Xpreprocessor for m1-mac
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Sep 21, 2023
1 parent 4a823f9 commit 1f6d7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ ifeq ($(MCL_STATIC_CODE),1)
endif
ifeq ($(MCL_USE_OMP),1)
CFLAGS+=-DMCL_USE_OMP
ifeq ($(OS),mac)
ifneq ($(findstring $(OS),mac/mac-m1),)
CFLAGS+=-Xpreprocessor -fopenmp
LDFLAGS+=-lomp
else
Expand Down

0 comments on commit 1f6d7f9

Please sign in to comment.