Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/Makefile.darwin-universal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Needs to be clang toolchain for universal: -arch i386 -arch x86_64
# Needs to be clang toolchain for universal: -arch x86_64 -arch arm64
#
GLEW_DEST = /usr/local
NAME = $(GLEW_NAME)
Expand All @@ -11,8 +11,8 @@ STRIP =
CFLAGS.EXTRA = -dynamic -fno-common
CFLAGS.EXTRA += -pedantic
CFLAGS.EXTRA += -fPIC
CFLAGS.EXTRA += -arch i386 -arch x86_64
LDFLAGS.EXTRA = -arch i386 -arch x86_64
CFLAGS.EXTRA += -arch x86_64 -arch arm64
LDFLAGS.EXTRA = -arch x86_64 -arch arm64
ifneq (undefined, $(origin GLEW_APPLE_GLX))
CFLAGS.EXTRA += -std=c99
CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
Expand Down