From 220a8fa93b9811863d169f340fc2e0bdd7cbdce4 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 31 Dec 2022 14:05:20 +0000 Subject: [PATCH] Disable x86 optimizations on i386 to unbreak. reported by sthen@ --- audio/soundtouch/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/soundtouch/Makefile b/audio/soundtouch/Makefile index 40daeca70fc..8a3e7b97fe0 100644 --- a/audio/soundtouch/Makefile +++ b/audio/soundtouch/Makefile @@ -22,4 +22,8 @@ MODULES= devel/cmake CONFIGURE_ARGS= -DBUILD_SHARED_LIBS=ON +.if ${MACHINE_ARCH} == "i386" +CXXFLAGS += -DSOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS +.endif + .include