Date: Mon, 2 Nov 2015 17:41:15 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r290274 - in stable: 10/secure/lib/libcrypto 9/secure/lib/libcrypto Message-ID: <201511021741.tA2HfFa1097046@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Nov 2 17:41:15 2015 New Revision: 290274 URL: https://svnweb.freebsd.org/changeset/base/290274 Log: MFC: r290121 Define endianness for non-x86 platforms. Modified: stable/9/secure/lib/libcrypto/Makefile.inc Directory Properties: stable/9/secure/lib/libcrypto/ (props changed) Changes in other areas also in this revision: Modified: stable/10/secure/lib/libcrypto/Makefile.inc Directory Properties: stable/10/ (props changed) Modified: stable/9/secure/lib/libcrypto/Makefile.inc ============================================================================== --- stable/9/secure/lib/libcrypto/Makefile.inc Mon Nov 2 16:56:34 2015 (r290273) +++ stable/9/secure/lib/libcrypto/Makefile.inc Mon Nov 2 17:41:15 2015 (r290274) @@ -17,8 +17,12 @@ CFLAGS+= -DOPENSSL_THREADS -DDSO_DLFCN - CFLAGS+= -DOPENSSL_NO_IDEA .endif -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" -CFLAGS+= -DL_ENDIAN +.include <bsd.endian.mk> + +.if ${TARGET_ENDIANNESS} == 1234 +CFLAGS+= -DL_ENDIAN +.elif ${TARGET_ENDIANNESS} == 4321 +CFLAGS+= -DB_ENDIAN .endif MANDIR= ${SHAREDIR}/openssl/man/man
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511021741.tA2HfFa1097046>