Merge pull request #5857 from diizzyy/sound-lame

sound/lame: Fix optimization
This commit is contained in:
Ted Hess 2018-04-17 11:24:50 -04:00 committed by GitHub
commit 01f93c7742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -63,8 +63,7 @@ TARGET_CFLAGS+=-msse
endif
ifeq ($(CONFIG_LAME-LIB_OPTIMIZE_SPEED),y)
TARGET_CFLAGS += $(TARGET_CFLAGS) -O3 -ffast-math
TARGET_CFLAGS := $(filter-out -Os,$(TARGET_CFLAGS))
TARGET_CFLAGS := $(filter-out -O%,$(TARGET_CFLAGS)) -O3 -ffast-math
endif
CONFIGURE_ARGS += --disable-gtktest --disable-static