sound/lame: Fix optimization
Properly strip any -O switch Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
This commit is contained in:
parent
16930779a9
commit
5ce6ce6b13
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue