From b11f72ac257f00362bd856da6bd106f70a5e0230 Mon Sep 17 00:00:00 2001 From: Kenton Varda Date: Wed, 18 Apr 2018 19:02:22 -0700 Subject: [PATCH 1/2] PS-237 Don't disable target optimizations when cross-compiling. AFAICT there's no reason to check the host platform here. The test only runs the compiler; it doesn't execute the output. --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 061222df2..df2ad9a4f 100755 --- a/configure +++ b/configure @@ -743,7 +743,7 @@ EOF fi # Check for AMD64 hardware support. -if [ x$TGT_ARCH = "xx86_64" -a $(uname -m) = "x86_64" ] ; then +if [ x$TGT_ARCH = "xx86_64" ] ; then # Check for SSE4.2 and CRC support cat > $test.c << EOF @@ -779,7 +779,7 @@ EOF echo "Checking for PCLMUL support ... No" | tee -a configure.log fi -elif [ x$TGT_ARCH = "xaarch64" -a $(uname -m) = "aarch64" ] ; then +elif [ x$TGT_ARCH = "xaarch64" ] ; then # Check for NEON and CRC support cat > $test.c << EOF From 77bc142396df2ebcdfc0b50f32ba57a5c58f4af6 Mon Sep 17 00:00:00 2001 From: Kenton Varda Date: Wed, 18 Apr 2018 19:16:01 -0700 Subject: [PATCH 2/2] Add misc intermediate files to .gitignore. --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 608ef9e89..8ebbe5a02 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,7 @@ /zlib.pc .DS_Store + +/build +/Makefile +/configure.log