From: Dan Nicholson Date: Wed, 31 Oct 2007 23:18:29 +0000 (-0700) Subject: configs: Set -fexceptions for GLUT on linux-dri like other targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbcd20f1c21f44a72d5386faa63b788b3c79cea2;p=mesa.git 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. --- 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