From 914ec8ef583519ed8e83e4870b7a9e2ed9247b01 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 13 Sep 2005 05:19:02 +0000 Subject: [PATCH] Fix libGL build on FreeBSD by respecting ASM_FLAGS. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Submitted by: Diego Pettenò --- configs/freebsd | 3 ++- 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 = -- 2.30.2