aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/driglide/files/patch-make-3dfx_linux_mak
blob: 4370982bf09bf7c5e1a37d5c4cfc23a72cfef680 (plain) (blame)
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
diff -ru ../Glide3.orig/swlibs/include/make/3dfx.linux.mak ./swlibs/include/make/3dfx.linux.mak
--- ../Glide3.orig/swlibs/include/make/3dfx.linux.mak   Wed Jul 12 14:35:28 2000
+++ ./swlibs/include/make/3dfx.linux.mak    Sun Jan 13 16:14:11 2002
@@ -82,15 +82,11 @@
 GCPTS         := $(GCOPTS) -fPIC -DPIC
 endif
 
-# 
-# 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
+# Set CNODEBUG and CDEBUG to nothing to respect CFLAGS
+
+CNODEBUG       = 
+CDEBUG        = 
 
-CDEBUG        = -g -O
 GLDOPTS           = -L$(BUILD_ROOT_SWLIBS)/lib -L/usr/lib
 # Profiling
 #CDEBUG           = -pg -g -O
@@ -115,7 +111,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)