summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/freebsd3
-rw-r--r--configs/freebsd-dri2
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 =