[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#409255: audacity - FTBFS: error: unrecognized command line option "-msse"



Hi,

The addition of

AC_CANONICAL_HOST
case $host in
    amd64-*-*) LIBSSE_CFLAGS=-msse ;;
    i?86-*-*)  LIBSSE_CFLAGS=-msse ;;
    *)         LIBSSE_CFLAGS= ;;
esac
AC_SUBST([LIBSSE_CFLAGS])

to configure.ac of soundtouch and

noinst_LTLIBRARIES = libsse.la
libSoundTouch_la_LIBADD = libsse.la
libsse_la_SOURCES = sse_optimized.cpp
libsse_la_CXXFLAGS = -O3 $(LIBSSE_CFLAGS) -fcheck-new -I../../include

to the Makefile.am of soundtouch/source/SoundTouch

Seems to do the job for me.

Joost

-- 
The planet Andete is famous for it's killer edible poets.



Reply to: