[vlc-commits] contrib: fix C/XXFLAGS overriding missing the $(PIC) flags
Steve Lhomme
git at videolan.org
Sun Jul 1 16:36:13 CEST 2018
vlc/vlc-3.0 | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue May 29 17:56:12 2018 +0200| [7c642456f5dc819528ba0a6886532e354bc0b81a] | 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=7c642456f5dc819528ba0a6886532e354bc0b81a
---
contrib/src/matroska/rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/matroska/rules.mak b/contrib/src/matroska/rules.mak
index 87ea3f45aa..13235e17fa 100644
--- a/contrib/src/matroska/rules.mak
+++ b/contrib/src/matroska/rules.mak
@@ -21,7 +21,7 @@ libmatroska: libmatroska-$(MATROSKA_VERSION).tar.xz .sum-matroska
$(call pkg_static,"libmatroska.pc.in")
$(MOVE)
-MATROSKA_CXXFLAGS := $(CXXFLAGS) -fvisibility=hidden
+MATROSKA_CXXFLAGS := $(CXXFLAGS) $(PIC) -fvisibility=hidden
.matroska: libmatroska toolchain.cmake
cd $< && $(HOSTVARS_PIC) CXXFLAGS="$(MATROSKA_CXXFLAGS)" $(CMAKE) -DBUILD_SHARED_LIBS=OFF
More information about the vlc-commits
mailing list