mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 15:25:07 +00:00
Update Mac OSX builds to use -std=c89 rather than -ansi
This commit is contained in:
parent
013667e3e1
commit
7f92f9adf7
@ -3,7 +3,7 @@ NAME = $(GLEW_NAME)
|
|||||||
CC = cc
|
CC = cc
|
||||||
LD = cc
|
LD = cc
|
||||||
CFLAGS.EXTRA = -dynamic -fno-common
|
CFLAGS.EXTRA = -dynamic -fno-common
|
||||||
CFLAGS.EXTRA += -ansi -pedantic
|
CFLAGS.EXTRA += -std=c89 -pedantic
|
||||||
#CFLAGS.EXTRA += -no-cpp-precomp
|
#CFLAGS.EXTRA += -no-cpp-precomp
|
||||||
LDFLAGS.EXTRA =
|
LDFLAGS.EXTRA =
|
||||||
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
# Note: PPC is no longer actively maintained for GLEW, but this configuration
|
||||||
|
# is here for reference.
|
||||||
GLEW_DEST = /usr/local
|
GLEW_DEST = /usr/local
|
||||||
NAME = $(GLEW_NAME)
|
NAME = $(GLEW_NAME)
|
||||||
CC = cc
|
CC = cc
|
||||||
|
@ -6,6 +6,7 @@ AR =
|
|||||||
LIBTOOL = libtool -static -o
|
LIBTOOL = libtool -static -o
|
||||||
STRIP =
|
STRIP =
|
||||||
CFLAGS.EXTRA = -dynamic -fno-common
|
CFLAGS.EXTRA = -dynamic -fno-common
|
||||||
|
CFLAGS.EXTRA += -std=c89 -pedantic
|
||||||
#CFLAGS.EXTRA += -no-cpp-precomp
|
#CFLAGS.EXTRA += -no-cpp-precomp
|
||||||
CFLAGS.EXTRA += -arch i386 -arch x86_64
|
CFLAGS.EXTRA += -arch i386 -arch x86_64
|
||||||
LDFLAGS.EXTRA = -arch i386 -arch x86_64
|
LDFLAGS.EXTRA = -arch i386 -arch x86_64
|
||||||
|
@ -3,6 +3,7 @@ NAME = $(GLEW_NAME)
|
|||||||
CC = cc
|
CC = cc
|
||||||
LD = cc
|
LD = cc
|
||||||
CFLAGS.EXTRA = -arch x86_64 -dynamic -fno-common
|
CFLAGS.EXTRA = -arch x86_64 -dynamic -fno-common
|
||||||
|
CFLAGS.EXTRA += -std=c89 -pedantic
|
||||||
#CFLAGS.EXTRA += -no-cpp-precomp
|
#CFLAGS.EXTRA += -no-cpp-precomp
|
||||||
LDFLAGS.EXTRA = -arch x86_64
|
LDFLAGS.EXTRA = -arch x86_64
|
||||||
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
|
Loading…
Reference in New Issue
Block a user