diff options
author | Nicolas Thill <nico@openwrt.org> | 2005-10-18 01:39:00 +0000 |
---|---|---|
committer | Nicolas Thill <nico@openwrt.org> | 2005-10-18 01:39:00 +0000 |
commit | 07e01bd73f19cfdb826b224d8300696e530d45d3 (patch) | |
tree | c5d94153e57d4c7bdc1ed20955293c4a8b8f382d /openwrt | |
parent | 3968c04610fea293810c4344e7c1d6b082bb032d (diff) | |
download | mtk-20170518-07e01bd73f19cfdb826b224d8300696e530d45d3.zip mtk-20170518-07e01bd73f19cfdb826b224d8300696e530d45d3.tar.gz mtk-20170518-07e01bd73f19cfdb826b224d8300696e530d45d3.tar.bz2 |
fix flac build when arch != mipsel
SVN-Revision: 2169
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/package/flac/Makefile | 1 | ||||
-rw-r--r-- | openwrt/package/flac/patches/no_encoder.patch | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/flac/Makefile b/openwrt/package/flac/Makefile index 9baa0da..281b2c4 100644 --- a/openwrt/package/flac/Makefile +++ b/openwrt/package/flac/Makefile @@ -26,6 +26,7 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) -f Makefile.lite \ $(TARGET_CONFIGURE_OPTS) \ + RELEASE_CFLAGS="$(TARGET_CFLAGS)" \ libFLAC touch $@ diff --git a/openwrt/package/flac/patches/no_encoder.patch b/openwrt/package/flac/patches/no_encoder.patch index 64666e8..f1d6fe2 100644 --- a/openwrt/package/flac/patches/no_encoder.patch +++ b/openwrt/package/flac/patches/no_encoder.patch @@ -6,7 +6,7 @@ diff -ru flac-1.1.2.OLD/build/lib.mk flac-1.1.2.NEW/build/lib.mk debug : CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) valgrind: CFLAGS = -g -O0 -DDEBUG $(CONFIG_CFLAGS) $(DEBUG_CFLAGS) -DFLAC__VALGRIND_TESTING -Wall -W -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) -release : CFLAGS = -O3 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) -+release : CFLAGS = -Os -pipe -mips32 -mtune=mips32 -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) ++release : CFLAGS = -fomit-frame-pointer -funroll-loops -finline-functions -DNDEBUG $(CONFIG_CFLAGS) $(RELEASE_CFLAGS) -Wall -W -Winline -DFLaC__INLINE=__inline__ -DVERSION=$(VERSION) $(DEFINES) $(INCLUDES) LFLAGS = -L$(LIBPATH) |