blob: 02d615f19bd9d45b18798b0c3e5f33789ffd5f6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--- swlibs/include/make/3dfx.mak.orig Sun Nov 19 00:00:37 2000
+++ swlibs/include/make/3dfx.mak Tue Dec 5 05:44:13 2006
@@ -131,17 +131,13 @@
endif
ifeq "$(OS)" "FreeBSD"
-GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I/usr/X11R6/include
+GCINCS = -I. -I$(BUILD_ROOT_SWLIBS)/include -I$(BUILD_ROOT_HW)/include -I$(LOCALBASE)/include
GCOPTS = -Wall
-#
-# BIG_OPT Indicates O3(?) or better is being used. It changes the
-# assembly language in grDrawTriangle. Larger optimization removes
-# an extra push in the calling sequence.
-#
-CNODEBUG = -O6 -m486 -fomit-frame-pointer -funroll-loops \
- -fexpensive-optimizations -ffast-math -DBIG_OPT
-CDEBUG = -g -O
+# Set CNODEBUG and CDEBUG to nothing to respect CFLAGS
+
+CNODEBUG =
+CDEBUG =
# Profiling
#CDEBUG = -pg -g -O
#GCDEFS =
@@ -166,7 +162,7 @@
LCFLAGS = $(LCINCS) $(LCDEFS) $(LCOPTS)
VCFLAGS = $(VCINCS) $(VCDEFS) $(VCOPTS)
-CFLAGS = $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
+CFLAGS += $(CDEBUG) $(GCFLAGS) $(LCFLAGS) $(VCFLAGS)
#--------------------------------------------------------------------------
# build up global linker flags (LDFLAGS) and libraries (LDLIBS)
|