From 125066a1d7a8bfbb3a742163ab2cef46e666a858 Mon Sep 17 00:00:00 2001 From: Ted Hess Date: Thu, 17 Nov 2016 11:49:27 -0500 Subject: [PATCH] lame: Fix i386 SSE builds, disable NASM (really) Signed-off-by: Ted Hess --- sound/lame/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/sound/lame/Makefile b/sound/lame/Makefile index e7057e5e9d..41a90f7d56 100644 --- a/sound/lame/Makefile +++ b/sound/lame/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2007-2014 OpenWrt.org +# Copyright (C) 2007-2016 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=lame PKG_VERSION:=3.99.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=@SF/lame @@ -53,12 +53,11 @@ define Package/lame-lib/description lame mp3 encoder libs endef -define Build/Configure - $(call Build/Configure/Default, \ - --disable-nasm \ - ) -endef +CONFIG_VARS+=NASM=no +ifeq ($(ARCH),i386) +TARGET_CFLAGS+=-msse +endif define Package/lame/install $(INSTALL_DIR) $(1)/usr/bin