configs: Set -fexceptions for GLUT on linux-dri like other targets
authorDan Nicholson <dbn.lists@gmail.com>
Wed, 31 Oct 2007 23:18:29 +0000 (16:18 -0700)
committerDan Nicholson <dbn.lists@gmail.com>
Wed, 31 Oct 2007 23:18:29 +0000 (16:18 -0700)
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

index a9ff7e9678ee411c5236dbf29e6528e2bf23b74c..0133eac95de46c0fe97fff59c11033ab40654737 100644 (file)
@@ -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