[vlc-commits] contrib: fix C/XXFLAGS overriding missing the $(PIC) flags
Steve Lhomme
git at videolan.org
Tue May 29 18:06:30 CEST 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 29 17:56:12 2018 +0200| [52cdad2a683937f55ae6a0e6a74126d6a62b818b] | committer: Jean-Baptiste Kempf
contrib: fix C/XXFLAGS overriding missing the $(PIC) flags
(cherry picked from commit 106a02ddd45cc7e24a23fe186f871ecbfbaba31c)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=52cdad2a683937f55ae6a0e6a74126d6a62b818b
---
contrib/src/ebml/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/ebml/rules.mak b/contrib/src/ebml/rules.mak
index 7bd24595bf..28fa355207 100644
--- a/contrib/src/ebml/rules.mak
+++ b/contrib/src/ebml/rules.mak
@@ -19,7 +19,7 @@ ebml: libebml-$(EBML_VERSION).tar.xz .sum-ebml
$(MOVE)
# libebml requires exceptions
-EBML_CXXFLAGS := $(CXXFLAGS) -fexceptions -fvisibility=hidden
+EBML_CXXFLAGS := $(CXXFLAGS) $(PIC) -fexceptions -fvisibility=hidden
.ebml: ebml toolchain.cmake
cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(EBML_CXXFLAGS)" $(CMAKE) -DBUILD_SHARED_LIBS=OFF
More information about the vlc-commits
mailing list