remove some deprecation warning on MacOSX

Change-Id: I3e6de5ae6d84aa7906049eb55b6373c5123b0158
This commit is contained in:
Pascal Massimino 2018-03-31 09:30:00 +02:00
parent dd174caeff
commit 217443c71a

View File

@ -25,6 +25,7 @@ ifeq ($(strip $(shell uname)), Darwin)
# Failure observed with: gcc 4.2.1 and 4.0.1.
EXTRA_FLAGS += -fno-common
EXTRA_FLAGS += -DHAVE_GLUT_GLUT_H
EXTRA_FLAGS += -Wno-deprecated-declarations
EXTRA_FLAGS += -I/opt/local/include
EXTRA_LIBS += -L/opt/local/lib
GL_LIBS = -framework GLUT -framework OpenGL