mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 06:06:43 +00:00
vdr-dvbapi-plugin: fix build
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
21064fe938
commit
86ae0c781b
@ -24,9 +24,16 @@
|
|||||||
|
|
||||||
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
|
VDR_DIR=`basename $BUILD/vdr-[0-9]*`
|
||||||
|
|
||||||
|
CFLAGS="$CFLAGS -fPIC"
|
||||||
|
CXXFLAGS="$CXXFLAGS -fPIC"
|
||||||
|
LDFLAGS="$LDFLAGS -fPIC"
|
||||||
|
|
||||||
# dont build parallel
|
# dont build parallel
|
||||||
MAKEFLAGS=-j1
|
MAKEFLAGS=-j1
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
make VDRDIR="../$VDR_DIR" LIBDIR="." LOCALEDIR="./locale"
|
make VDRDIR="../$VDR_DIR" \
|
||||||
|
LIBDIR="." \
|
||||||
|
LOCALEDIR="./locale" \
|
||||||
|
CSAFLAGS="$CFLAGS -Wall -fomit-frame-pointer -fexpensive-optimizations -funroll-loops"
|
||||||
|
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur vdr-dvbapi-plugin-6e8cad7/Makefile vdr-dvbapi-plugin-6e8cad7.patch/Makefile
|
||||||
|
--- vdr-dvbapi-plugin-6e8cad7/Makefile 2011-12-25 14:24:33.000000000 +0100
|
||||||
|
+++ vdr-dvbapi-plugin-6e8cad7.patch/Makefile 2011-12-29 18:59:21.847652339 +0100
|
||||||
|
@@ -80,7 +80,7 @@
|
||||||
|
gcc -O -fbuiltin -fomit-frame-pointer -fPIC -shared -o $@ $< -ldl
|
||||||
|
|
||||||
|
$(FFDECSA): $(FFDECSADIR)/*.c $(FFDECSADIR)/*.h
|
||||||
|
- @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS) -march=$(CPUOPT)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) all
|
||||||
|
+ @$(MAKE) COMPILER="$(CXX)" FLAGS="$(CSAFLAGS)" PARALLEL_MODE=$(PARALLEL) -C $(FFDECSADIR) FFdecsa.o
|
||||||
|
|
||||||
|
dist: clean
|
||||||
|
@-rm -rf $(TMPDIR)/$(ARCHIVE)
|
Loading…
x
Reference in New Issue
Block a user