diff options
author | Eric Anholt <[email protected]> | 2005-09-13 05:19:02 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2005-09-13 05:19:02 +0000 |
commit | 914ec8ef583519ed8e83e4870b7a9e2ed9247b01 (patch) | |
tree | 33fbd11c2896c96b4ccfe1f3e08419d7a66b20fa | |
parent | 878c371e6cf6eb28afacc482d8aeaa0119f00d5b (diff) |
Fix libGL build on FreeBSD by respecting ASM_FLAGS.
Submitted by: Diego Pettenò <[email protected]>
-rw-r--r-- | configs/freebsd | 3 | ||||
-rw-r--r-- | configs/freebsd-dri | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/configs/freebsd b/configs/freebsd index 910352abd3e..95e51f25158 100644 --- a/configs/freebsd +++ b/configs/freebsd @@ -9,7 +9,8 @@ CC = gcc CXX = g++ MAKE = gmake -CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 +CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DUSE_XSHM -DHZ=100 \ + $(ASM_FLAGS) CXXFLAGS = -O2 -fPIC -pedantic GLUT_CFLAGS = -fexceptions diff --git a/configs/freebsd-dri b/configs/freebsd-dri index dd6e6143e18..2096fd070c6 100644 --- a/configs/freebsd-dri +++ b/configs/freebsd-dri @@ -16,7 +16,7 @@ X11_INCLUDES = -I/usr/X11R6/include DEFINES = -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER \ -DGLX_DIRECT_RENDERING -DHAVE_ALIAS CFLAGS = $(DEFINES) -Wmissing-prototypes -g -std=c99 -Wundef -fPIC \ - -ffast-math $(X11_INCLUDES) + -ffast-math $(ASM_FLAGS) $(X11_INCLUDES) CXXFLAGS = $(DEFINES) -Wall -g -ansi -pedantic -fPIC ASM_SOURCES = |