aboutsummaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-03-23 18:41:02 +0300
committerCem Keylan <cem@ckyln.com>2021-03-23 18:41:25 +0300
commitfd21c2acfdd67b7df78db782a543005deb5b2b3e (patch)
treeb73ef5c4c4c2722719b393b3573028ff43e1b1b9 /extra
parent7626aa0774f39258a36e6f7f4f0411b52389195f (diff)
downloadrepository-fd21c2acfdd67b7df78db782a543005deb5b2b3e.tar.gz
x265: link gcc static
Diffstat (limited to 'extra')
-rwxr-xr-xextra/x265/build2
-rw-r--r--extra/x265/version2
2 files changed, 3 insertions, 1 deletions
diff --git a/extra/x265/build b/extra/x265/build
index 2bc1c919..063d4bce 100755
--- a/extra/x265/build
+++ b/extra/x265/build
@@ -1,5 +1,7 @@
#!/bin/sh -e
+export CFLAGS="$CFLAGS -static-libgcc"
+export CXXFLAGS="$CXXFLAGS -static-libstdc++ -static-libgcc"
export DESTDIR="$1"
cmake source \
diff --git a/extra/x265/version b/extra/x265/version
index 61e3d241..5b90d060 100644
--- a/extra/x265/version
+++ b/extra/x265/version
@@ -1 +1 @@
-3.5 1
+3.5 2