Mesa (gallium-0.2): cell: added -D_BSD_SOURCE flag

Brian Paul brianp at kemper.freedesktop.org
Tue Oct 28 00:25:52 UTC 2008


Module: Mesa
Branch: gallium-0.2
Commit: 2b9b42befaf4b416e1bae423a436f4e1722a62bf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2b9b42befaf4b416e1bae423a436f4e1722a62bf

Author: Brian Paul <brian.paul at tungstengraphics.com>
Date:   Mon Oct 27 18:15:56 2008 -0600

cell: added -D_BSD_SOURCE flag

Needed to get MAP_ANONYMOUS in execmem.c and to define timezone type in glxgears.c
Adding -std=c99 earlier caused this regression.

---

 configs/linux-cell |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configs/linux-cell b/configs/linux-cell
index f68a685..e45ea46 100644
--- a/configs/linux-cell
+++ b/configs/linux-cell
@@ -26,7 +26,7 @@ SDK = /opt/cell/sdk/usr
 
 CFLAGS = $(OPT_FLAGS) -Wall -Winline -fPIC -m32 -std=c99 -mabi=altivec -maltivec \
 	-I. -I$(SDK)/include \
-	-DGALLIUM_CELL -DUSE_XSHM
+	-DGALLIUM_CELL -DUSE_XSHM -D_BSD_SOURCE
 
 CXXFLAGS = $(CFLAGS)
 




More information about the mesa-commit mailing list