diff options
Diffstat (limited to 'net/brutecopy/files/patch-makefile')
-rw-r--r-- | net/brutecopy/files/patch-makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net/brutecopy/files/patch-makefile b/net/brutecopy/files/patch-makefile new file mode 100644 index 000000000000..2967b4359292 --- /dev/null +++ b/net/brutecopy/files/patch-makefile @@ -0,0 +1,32 @@ +--- Makefile.orig Sat Dec 29 15:03:13 2001 ++++ Makefile Tue Jan 11 18:55:19 2005 +@@ -1,5 +1,4 @@ +-CFLAGS= -O3 -Wall -fomit-frame-pointer -malign-functions=0 +-LDFLAGS= -s ++CFLAGS?=-O3 -Wall -fomit-frame-pointer -falign-functions=0 + + all: bcps bcpc + +@@ -7,18 +6,18 @@ + rm -f *.o bcps bcpc + + bcps.o: bcps.c def.h crc32.c +- gcc -c $(CFLAGS) bcps.c -o bcps.o ++ $(CC) -c $(CFLAGS) bcps.c -o bcps.o + + bcpc.o: bcpc.c def.h crc32.c +- gcc -c $(CFLAGS) bcpc.c -o bcpc.o ++ $(CC) -c $(CFLAGS) bcpc.c -o bcpc.o + + crc32.o: crc32.c + + bcps: bcps.o crc32.o +- gcc $(LDFLAGS) bcps.o crc32.o -o bcps ++ $(CC) $(LDFLAGS) bcps.o crc32.o -o bcps + + bcpc: bcpc.o crc32.o +- gcc $(LDFLAGS) bcpc.o crc32.o -o bcpc ++ $(CC) $(LDFLAGS) bcpc.o crc32.o -o bcpc + + install: all + install -o root -g root -m 755 bcpc $(DESTDIR)/usr/bin |