Skip to content

Commit 392404f

Browse files
committed
Fixed compilation for i386.
1 parent 42b6fc7 commit 392404f

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/makemkv-oss/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export LDFLAGS="-Wl,--strip-all -Wl,--as-needed"
2121
export CC=xx-clang
2222
export CXX=xx-clang++
2323

24+
if [ "$(xx-info march)" = "i386" ]; then
25+
export LD="$(xx-info)-ld -m elf_i386"
26+
fi
27+
2428
function log {
2529
echo ">>> $*"
2630
}

0 commit comments

Comments
 (0)