From: Eric Anholt Date: Tue, 13 Sep 2005 05:19:02 +0000 (+0000) Subject: Fix libGL build on FreeBSD by respecting ASM_FLAGS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=914ec8ef583519ed8e83e4870b7a9e2ed9247b01;p=mesa.git Fix libGL build on FreeBSD by respecting ASM_FLAGS. Submitted by: Diego Pettenò --- 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 =