diff options
author | Dan Nicholson <[email protected]> | 2007-10-31 16:18:29 -0700 |
---|---|---|
committer | Dan Nicholson <[email protected]> | 2007-11-01 11:02:05 -0700 |
commit | 08229c8bb8e63ac5fe28cfca594bc45ae34da509 (patch) | |
tree | 367bc99a644d250675244b585bb034183cad6d83 /configs | |
parent | c984017f71b3d5fc752e3c39d42e83a8b894c3d2 (diff) |
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.
(cherry picked from commit dbcd20f1c21f44a72d5386faa63b788b3c79cea2)
Diffstat (limited to 'configs')
-rw-r--r-- | configs/linux-dri | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/linux-dri b/configs/linux-dri index c40b5a6cd58..7ef07b55923 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 |