summaryrefslogtreecommitdiff
path: root/rtmpdump
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2014-05-25 15:49:10 +1000
committerDanny Rawlins <monster.romster@gmail.com>2014-05-25 15:50:16 +1000
commit62791feb957d2147d605bd61897bffea9d755ad4 (patch)
tree812e1eb72b56671219b5f4b23f6b8f592af69efc /rtmpdump
parent6d7973e0b29737a2f336adab6b7112e69cbdf22a (diff)
downloadcontrib-62791feb957d2147d605bd61897bffea9d755ad4.tar.gz
contrib-62791feb957d2147d605bd61897bffea9d755ad4.tar.xz
rtmpdump: enable CFLAGS use
Diffstat (limited to 'rtmpdump')
-rw-r--r--rtmpdump/Pkgfile12
1 files changed, 10 insertions, 2 deletions
diff --git a/rtmpdump/Pkgfile b/rtmpdump/Pkgfile
index 1fed67a48..9d5d20660 100644
--- a/rtmpdump/Pkgfile
+++ b/rtmpdump/Pkgfile
@@ -10,7 +10,7 @@ release=1
source=(http://crux.ster.so/distfiles/$name/$name-${version}_p20131018.tar.gz)
build() {
- sed -i 's/\$(MAKEFLAGS)//g' Makefile
+ #sed -i 's/\$(MAKEFLAGS)//g' Makefile
sed -i \
-e 's|OPT=|&-fPIC |' \
@@ -21,7 +21,15 @@ build() {
install -d $PKG/usr/lib
- make CRYPTO=OPENSSL SYS=posix
+ [ "$CC" ] || CC=gcc
+
+ make \
+ CC="$CC" \
+ $MAKEFLAGS \
+ OPT="$CFLAGS" \
+ XLDFLAGS="$LDFLAGS" \
+ CRYPTO=OPENSSL \
+ SYS=posix
make \
CRYPTO=OPENSSL \

Generated by cgit