[vlc-devel] [PATCH 1/2] Removes leading space(s) of VPX_LDFLAGS that causes syntax error in vpx.mak
Waterson
waterson at hotmail.com
Thu Nov 13 04:59:38 CET 2014
---
contrib/src/vpx/rules.mak | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/contrib/src/vpx/rules.mak b/contrib/src/vpx/rules.mak
index b55199d..96260ca 100644
--- a/contrib/src/vpx/rules.mak
+++ b/contrib/src/vpx/rules.mak
@@ -24,7 +24,7 @@ else
VPX_CROSS :=
endif
-VPX_LDFLAGS := $(LDFLAGS)
+VPX_LDFLAGS := $(strip $(LDFLAGS))
ifeq ($(ARCH),arm)
VPX_ARCH := armv7
@@ -102,8 +102,7 @@ VPX_CONF += --extra-cflags="-I $(ANDROID_NDK)/sources/cpufeatures/"
endif
.vpx: libvpx
- cd $< && LDFLAGS="$(VPX_LDFLAGS)" CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) \
- $(VPX_CONF) --prefix=$(PREFIX)
+ cd $< && LDFLAGS=$(VPX_LDFLAGS) CROSS=$(VPX_CROSS) ./configure --target=$(VPX_TARGET) $(VPX_CONF) --prefix=$(PREFIX)
cd $< && $(MAKE)
cd $< && ../../../contrib/src/pkg-static.sh vpx.pc
cd $< && $(MAKE) install
--
1.7.9.5
More information about the vlc-devel
mailing list