summaryrefslogtreecommitdiffstats
path: root/archivers/star-devel/files/patch-aa
blob: febfef64b7322ed745b85515dadfe00b3dfaee89 (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
35
36
37
38
39
--- RULES/i386-freebsd-cc.rul.orig	Thu May  6 02:48:51 1999
+++ RULES/i386-freebsd-cc.rul	Thu May  6 02:50:11 1999
@@ -24,7 +24,7 @@
 ###########################################################################
 
 CPPFLAGS=	$(CPPOPTS) $(CPPOPTX)
-CFLAGS=		$(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX)
+CFLAGS+=	$(COPTS) $(CWARNOPTS) $(COPTX)
 
 CPPOPTS=	-I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS)
 COPTS=
@@ -47,7 +47,7 @@
 
 LIBS_PATH=	-L$(OLIBSDIR)
 
-LDFLAGS=	$(LDOPTS) $(LDOPTX)
+LDFLAGS+=	$(LDOPTS) $(LDOPTX)
 LDLIBS=		$(LIBS) $(LIBX)
 
 #LDOPTS=		$(LIBS_PATH) $(LDPATH) $(RUNPATH)
@@ -57,14 +57,14 @@
 
 FLOAT_OPTIONS=	
 
-CC=		@echo "	==> COMPILING \"$@\""; gcc
-LDCC=		@echo "	==> LINKING \"$@\""; gcc
-DYNLD=		@echo "	==> LINKING dynamic library \"$@\""; gcc
+CC=		@echo "	==> COMPILING \"$@\""; ${CCOM}
+LDCC=		@echo "	==> LINKING \"$@\""; ${CCOM}
+DYNLD=		@echo "	==> LINKING dynamic library \"$@\""; ${CCOM}
 RANLIB=		@echo "	==> RANDOMIZING ARCHIVE \"$@\""; ranlib
 ARFLAGS=	cr
 LORDER=		lorder
 TSORT=		tsort
 
 RMDEP=		:
-MKDEP=		@echo "	==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); gcc -M
+MKDEP=		@echo "	==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); ${CCOM} -M
 MKDEP_OUT=
OpenPOWER on IntegriCloud