Define PLATFORM correctly when cross-building.
This commit is contained in:
parent
500f29d06e
commit
e7b3b699a2
@ -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