projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7eb97b
)
configs: Set -fexceptions for GLUT on linux-dri like other targets
author
Dan Nicholson
<dbn.lists@gmail.com>
Wed, 31 Oct 2007 23:18:29 +0000
(16:18 -0700)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/configs/linux-dri
b/configs/linux-dri
index a9ff7e9678ee411c5236dbf29e6528e2bf23b74c..0133eac95de46c0fe97fff59c11033ab40654737 100644
(file)
--- 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