Browse Source

sound/lame: Fix optimization

Properly strip any -O switch

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
lilik-openwrt-22.03
Daniel Engberg 7 years ago
parent
commit
5ce6ce6b13
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      sound/lame/Makefile

+ 1
- 2
sound/lame/Makefile 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


Loading…
Cancel
Save