Add -ansi -pedantic compilation flags for Mac build, as extra diagnostic information.

This commit is contained in:
Nigel Stewart 2015-02-21 21:04:57 +10:00
parent 9a5a4cdaed
commit 674a2310f3

View File

@ -2,6 +2,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 += -no-cpp-precomp #CFLAGS.EXTRA += -no-cpp-precomp
LDFLAGS.EXTRA = LDFLAGS.EXTRA =
ifneq (undefined, $(origin GLEW_APPLE_GLX)) ifneq (undefined, $(origin GLEW_APPLE_GLX))