From f532107bdc43cfbed18cf95bff1a02b8c581826e Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 4 Mar 2008 05:35:27 +0000 Subject: Linux requires -D__dead2= and -D__unused= to get rid of the sys/cdef.h-isms in the make source. The variant of linux I tried it on doesn't have arc4random, so -Darc4random=random too. --- usr.bin/make/Makefile.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/make/Makefile.dist b/usr.bin/make/Makefile.dist index d50804d..8823d74 100644 --- a/usr.bin/make/Makefile.dist +++ b/usr.bin/make/Makefile.dist @@ -2,7 +2,7 @@ # a simple makefile to help builds on !FreeBSD systems pmake: @echo 'make started.' - cc -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c + cc -D__dead2="" -D__unused="" -Darc4random=random -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c cc *.o -o pmake @echo 'make completed.' -- cgit v1.1