aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/sformat/files/patch-RULES::i386-freebsd-cc.rul
blob: 1b76323e1ac7c8612997347ab9ce23f320ce41dd (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
--- RULES/i386-freebsd-cc.rul.orig  Tue Oct 15 22:43:39 2002
+++ RULES/i386-freebsd-cc.rul   Sun Oct 27 19:59:00 2002
@@ -24,7 +24,8 @@
 ###########################################################################
 
 CPPFLAGS=  $(CPPOPTS) $(CPPOPTX)
-CFLAGS=        $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
+XCFLAGS:=  $(CFLAGS)
+CFLAGS=        $(COPTS) $(CWARNOPTS) $(XCFLAGS) $(COPTX)
 
 CPPOPTS=   -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 COPTS=
@@ -57,14 +58,14 @@
 
 FLOAT_OPTIONS= 
 
-CC=        @echo " ==> COMPILING \"$@\""; gcc
-LDCC=      @echo " ==> LINKING \"$@\""; gcc
-DYNLD=     @echo " ==> LINKING dynamic library \"$@\""; gcc
-RANLIB=        @echo " ==> RANDOMIZING ARCHIVE \"$@\""; ranlib
+CCCOM=     $(CC)
+LDCC=      $(CCCOM)
+DYNLD=     $(CCCOM)
+RANLIB=        ranlib
 ARFLAGS=   cr
 LORDER=        lorder
 TSORT=     tsort
 
 RMDEP=     :
-MKDEP=     @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
+MKDEP=     $(CCCOM) -M
 MKDEP_OUT=