shithub: aacenc

Download patch

ref: cdfe72b0df8e5666b1f85c092225076095e120d9
parent: b935b95e0d1d24ebf57b101293e282d9dd44a19c
author: Krzysztof Nikiel <knik@users.sourceforge.net>
date: Thu Oct 5 15:51:23 EDT 2017

added x86_64 to SSE check

--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@
 fi
 
 AM_CONDITIONAL(MINGW, test "$host_os" = "mingw32")
-AM_CONDITIONAL(CPU686, test "$host_cpu" = "i686")
+AM_CONDITIONAL(CPUSSE, test "$host_cpu" = "x86_64" || test "$host_cpu" = "i686")
 
 AC_C_BIGENDIAN
 
--- a/libfaac/Makefile.am
+++ b/libfaac/Makefile.am
@@ -2,7 +2,7 @@
 common_INCLUDES = aacquant.h channels.h filtbank.h hufftab.h blockswitch.h coder.h frame.h midside.h tns.h bitstream.h fft.h huffman.h util.h quantize.h version.h
 common_LIBADD = -lm
 common_CFLAGS = -fvisibility=hidden
-if CPU686
+if CPUSSE
 common_CFLAGS += -msse2
 endif