aboutsummaryrefslogtreecommitdiff
path: root/extra/x265/build
blob: 063d4bce652c7c4d662ecb87f8ebc9711691b323 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -e

export CFLAGS="$CFLAGS -static-libgcc"
export CXXFLAGS="$CXXFLAGS -static-libstdc++ -static-libgcc"
export DESTDIR="$1"

cmake source \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release

cmake --build .
cmake --install .