Define PLATFORM correctly when cross-building.
This commit is contained in:
parent
8fa4f6f9a4
commit
28e20b0b08
@ -297,11 +297,11 @@ CSTD= gnu89
|
||||
|
||||
CLEANFILES= buildinf.h opensslconf.h evp.h
|
||||
|
||||
buildinf.h:
|
||||
buildinf.h: ${.CURDIR}/Makefile
|
||||
( echo "#ifndef MK1MF_BUILD"; \
|
||||
echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */"; \
|
||||
echo " #define CFLAGS \"$(CC)\""; \
|
||||
echo " #define PLATFORM \"`uname -s`-`uname -m`\""; \
|
||||
echo " #define PLATFORM \"FreeBSD-${MACHINE_ARCH}\""; \
|
||||
echo " #define DATE \"`LC_ALL=C date`\""; \
|
||||
echo "#endif" ) > ${.TARGET}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user