mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
flac:
- ensure we dont use size optimization - add some usefull options
This commit is contained in:
parent
782dc143df
commit
ee46afff12
@ -5,15 +5,24 @@
|
||||
$SCRIPTS/build toolchain
|
||||
$SCRIPTS/build libogg
|
||||
|
||||
# ensure we dont use size optimization.
|
||||
CFLAGS=`echo $CFLAGS | sed -e "s|-Os|-O3|"`
|
||||
CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-Os|-O3|"`
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld \
|
||||
--disable-altivec \
|
||||
--disable-doxygen-docs \
|
||||
--disable-thorough-tests \
|
||||
--disable-cpplibs \
|
||||
--disable-xmms-plugin \
|
||||
--disable-oggtest \
|
||||
--with-ogg=$SYSROOT_PREFIX/usr
|
||||
|
||||
make
|
||||
|
11
packages/audio/flac/patches/flac-1.2.1-gcc_4.3.diff
Normal file
11
packages/audio/flac/patches/flac-1.2.1-gcc_4.3.diff
Normal file
@ -0,0 +1,11 @@
|
||||
diff -Naur flac-1.2.1-old/examples/cpp/encode/file/main.cpp flac-1.2.1-new/examples/cpp/encode/file/main.cpp
|
||||
--- flac-1.2.1-old/examples/cpp/encode/file/main.cpp 2007-09-13 08:58:03.000000000 -0700
|
||||
+++ flac-1.2.1-new/examples/cpp/encode/file/main.cpp 2008-01-08 17:25:20.000000000 -0800
|
||||
@@ -30,6 +30,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include "FLAC++/metadata.h"
|
||||
#include "FLAC++/encoder.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user