diff options
author | Ian Romanick <idr@us.ibm.com> | 2006-08-16 17:06:08 +0000 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2006-08-16 17:06:08 +0000 |
commit | a7d02567451f69445ef31181a41b16e86487093d (patch) | |
tree | 6e42bb8e124f17e6f5e8b0b5dcc76b0832d6e997 /configs | |
parent | ab6cf9dd622c4659aa5f47cb1b5f86b8e38d5a85 (diff) | |
download | external_mesa3d-a7d02567451f69445ef31181a41b16e86487093d.zip external_mesa3d-a7d02567451f69445ef31181a41b16e86487093d.tar.gz external_mesa3d-a7d02567451f69445ef31181a41b16e86487093d.tar.bz2 |
When available, which is most of the time, use posix_memalign to implement
_mesa_align_malloc and friends.
Diffstat (limited to 'configs')
-rw-r--r-- | configs/freebsd | 3 | ||||
-rw-r--r-- | configs/freebsd-dri | 2 | ||||
-rw-r--r-- | configs/linux | 2 | ||||
-rw-r--r-- | configs/linux-dri | 2 | ||||
-rw-r--r-- | configs/linux-dri-xcb | 2 | ||||
-rw-r--r-- | configs/linux-indirect | 2 | ||||
-rw-r--r-- | configs/linux-solo | 2 | ||||
-rw-r--r-- | configs/linux-sparc | 2 |
8 files changed, 9 insertions, 8 deletions
diff --git a/configs/freebsd b/configs/freebsd index f7f9671..38806ab 100644 --- a/configs/freebsd +++ b/configs/freebsd @@ -15,7 +15,8 @@ COPY_LIBS = cp -f OPT_FLAGS = -O2 PIC_FLAGS = -fPIC -DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM -DHZ=100 +DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \ + -DHZ=100 -DHAVE_POSIX_MEMALIGN X11_INCLUDES = -I/usr/X11R6/include diff --git a/configs/freebsd-dri b/configs/freebsd-dri index 525ebd0..104e242 100644 --- a/configs/freebsd-dri +++ b/configs/freebsd-dri @@ -14,7 +14,7 @@ OPT_FLAGS = -O EXPAT_INCLUDES = -I/usr/local/include X11_INCLUDES = -I/usr/X11R6/include DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ - -DGLX_DIRECT_RENDERING -DHAVE_ALIAS + -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN CFLAGS = -Wmissing-prototypes -g -std=c99 -Wundef -fPIC -ffast-math \ $(ASM_FLAGS) $(X11_INCLUDES) $(DEFINES) diff --git a/configs/linux b/configs/linux index 2526bb7..6736f14 100644 --- a/configs/linux +++ b/configs/linux @@ -17,7 +17,7 @@ PIC_FLAGS = -fPIC ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ - -D_BSD_SOURCE -DPTHREADS -DUSE_XSHM + -D_BSD_SOURCE -DPTHREADS -DUSE_XSHM -DHAVE_POSIX_MEMALIGN X11_INCLUDES = -I/usr/X11R6/include diff --git a/configs/linux-dri b/configs/linux-dri index 2a2b9e3..1c3b404 100644 --- a/configs/linux-dri +++ b/configs/linux-dri @@ -22,7 +22,7 @@ ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ -D_BSD_SOURCE -D_GNU_SOURCE \ -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ - -DGLX_DIRECT_RENDERING -DHAVE_ALIAS + -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN X11_INCLUDES = -I/usr/X11R6/include diff --git a/configs/linux-dri-xcb b/configs/linux-dri-xcb index 1727060..68acb2f 100644 --- a/configs/linux-dri-xcb +++ b/configs/linux-dri-xcb @@ -22,7 +22,7 @@ ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ -D_BSD_SOURCE -D_GNU_SOURCE \ -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ - -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB + -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_XCB -DHAVE_POSIX_MEMALIGN X11_INCLUDES = `pkg-config --cflags-only-I x11` `pkg-config --cflags-only-I xcb` `pkg-config --cflags-only-I xcb-glx` diff --git a/configs/linux-indirect b/configs/linux-indirect index 21546b6..b764515 100644 --- a/configs/linux-indirect +++ b/configs/linux-indirect @@ -23,7 +23,7 @@ ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ -D_BSD_SOURCE -D_GNU_SOURCE \ - -DPTHREADS -DHAVE_ALIAS + -DPTHREADS -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN X11_INCLUDES = -I/usr/X11R6/include diff --git a/configs/linux-solo b/configs/linux-solo index 112cdd2..730c245 100644 --- a/configs/linux-solo +++ b/configs/linux-solo @@ -16,7 +16,7 @@ PIC_FLAGS = -fPIC ARCH_FLAGS ?= DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE \ - -D_BSD_SOURCE -D_GNU_SOURCE \ + -D_BSD_SOURCE -D_GNU_SOURCE -DHAVE_POSIX_MEMALIGN \ -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DDRM_USE_MALLOC -DIN_DRI_DRIVER CFLAGS = $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(DEFINES) \ diff --git a/configs/linux-sparc b/configs/linux-sparc index e3bc9eb..d9552e8 100644 --- a/configs/linux-sparc +++ b/configs/linux-sparc @@ -12,7 +12,7 @@ WARN_FLAGS = -Wall OPT_FLAGS = -O2 PIC_FLAGS = -fPIC -DEFINES = -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM +DEFINES = -D_SVID_SOURCE -D_BSD_SOURCE -DUSE_XSHM -DHAVE_POSIX_MEMALIGN X11_INCLUDES = -I/usr/X11R6/include |