From 217443c71ad5d57e93fb248a8c02b65bb4e08964 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Sat, 31 Mar 2018 09:30:00 +0200 Subject: [PATCH] remove some deprecation warning on MacOSX Change-Id: I3e6de5ae6d84aa7906049eb55b6373c5123b0158 --- makefile.unix | 1 + 1 file changed, 1 insertion(+) diff --git a/makefile.unix b/makefile.unix index 057b63ec..826b956e 100644 --- a/makefile.unix +++ b/makefile.unix @@ -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