diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-27 18:15:56 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-10-27 18:16:34 -0600 |
commit | 2b9b42befaf4b416e1bae423a436f4e1722a62bf (patch) | |
tree | e5c95f279c95c8b05e3a4e1f98cb429e3cbf4334 /configs/linux-cell | |
parent | a1754424b6597219f436091dec1de4713719c4b8 (diff) |
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.
Diffstat (limited to 'configs/linux-cell')
-rw-r--r-- | configs/linux-cell | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/linux-cell b/configs/linux-cell index f68a6853c3..e45ea46165 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) |