1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Unbreak, ARCH was being passed through to the Makefiles

resulting in cc -I... i386 -c ... etc being used.

Noticed by:	bento.freebsd.org
This commit is contained in:
Chris Piazza 1999-07-24 06:09:46 +00:00
parent c020c36d2b
commit 9084228b18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=20338
2 changed files with 38 additions and 2 deletions

View File

@ -0,0 +1,18 @@
--- nfs/Makefile.orig Sat Jul 24 23:05:05 1999
+++ nfs/Makefile Sat Jul 24 23:05:17 1999
@@ -16,13 +16,13 @@
all: nfs.o
-COMPILE = $(CC) $(ARCH) -c $(INCLUDES) $(CFLAGS)
+COMPILE = $(CC) -c $(INCLUDES) $(CFLAGS)
.c.o:
$(COMPILE) $<
nfs.o: $(OFILES)
- $(LD) $(ARCH) -r -o $@ $(OFILES)
+ $(LD) -r -o $@ $(OFILES)
# the purpose of the sed "s/char data/long long data/" hack is to ensure
# proper alignment. [Marc Boucher <marc@CAM.ORG>]

View File

@ -1,5 +1,5 @@
--- Makefile.orig Mon Jan 4 19:07:31 1999
+++ Makefile Mon Jan 4 19:08:07 1999
--- Makefile.orig Tue Nov 24 05:52:13 1998
+++ Makefile Sat Jul 24 23:04:14 1999
@@ -12,11 +12,11 @@
##############################################################################
@ -29,3 +29,21 @@
# For NetBsd
#CFLAGS = -Wall -O2 -DNETBSD
@@ -66,7 +66,7 @@
OFILES = proc.o sock.o rumba.o psinode.o kernel.o smb_abstraction.o fo_nfs.o
.c.o:
- $(CC) $(CFLAGS) $(ARCH) -c -o $*.o $<
+ $(CC) $(CFLAGS) -c -o $*.o $<
all: $(NAME)
@@ -74,7 +74,7 @@
(cd nfs; $(MAKE) "CFLAGS=$(CFLAGS)" "CC=$(THE_CC)" "ARCH=$(ARCH)" "RPC_WARNFLAGS=$(RPC_WARNFLAGS)")
$(NAME): $(OFILES) nfs_dir
- $(CC) $(LDFLAGS) $(ARCH) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
+ $(CC) $(LDFLAGS) -o $(NAME) $(OFILES) nfs/nfs.o $(LIBS)
clean:
rm -f $(OFILES)