summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2008-03-04 05:35:27 +0000
committerimp <imp@FreeBSD.org>2008-03-04 05:35:27 +0000
commitf532107bdc43cfbed18cf95bff1a02b8c581826e (patch)
tree50219b30a9f75f2eb04ffb04ca072ee049ef8f23 /usr.bin
parent8ead1ed2f9013c5815c4c1db7a3cfe8ba641cf58 (diff)
downloadFreeBSD-src-f532107bdc43cfbed18cf95bff1a02b8c581826e.zip
FreeBSD-src-f532107bdc43cfbed18cf95bff1a02b8c581826e.tar.gz
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.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/Makefile.dist2
1 files changed, 1 insertions, 1 deletions
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.'
OpenPOWER on IntegriCloud