aboutsummaryrefslogtreecommitdiff
path: root/extra/x265/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/x265/build')
-rwxr-xr-xextra/x265/build2
1 files changed, 2 insertions, 0 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 \