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.
This commit is contained in:
parent
76a9679f8e
commit
db18a02be9
@ -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.'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user