diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2007-10-31 16:18:29 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2007-10-31 16:18:29 -0700 |
commit | dbcd20f1c21f44a72d5386faa63b788b3c79cea2 (patch) | |
tree | 21157f7b2904770582e6bc85f3e8012e7b0db352 | |
parent | d7eb97bbc3347bf37449db93463d646f6d5d7319 (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.
-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 a9ff7e9678..0133eac95d 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 |