Merge "remove some deprecation warning on MacOSX"

This commit is contained in:
James Zern 2018-03-31 08:09:41 +00:00 committed by Gerrit Code Review
commit c909d53182

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