From dbcd20f1c21f44a72d5386faa63b788b3c79cea2 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Wed, 31 Oct 2007 16:18:29 -0700 Subject: [PATCH] configs: Set -fexceptions for GLUT on linux-dri like other targets Quite a while ago, the GCC option -fexceptions was added for building libglut. See here: http://article.gmane.org/gmane.comp.video.mesa3d.devel/9499 This was missing in the linux-dri targets. --- configs/linux-dri | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/linux-dri b/configs/linux-dri index a9ff7e9678e..0133eac95de 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -32,6 +32,8 @@ CFLAGS = -Wall -Wmissing-prototypes -std=c99 -ffast-math \ CXXFLAGS = -Wall $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) +GLUT_CFLAGS = -fexceptions + # Work around aliasing bugs - developers should comment this out CFLAGS += -fno-strict-aliasing CXXFLAGS += -fno-strict-aliasing -- 2.30.2