Skip to content

Commit

Permalink
Try getting x264 working on 32-bit Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jul 11, 2014
1 parent 18926f0 commit 68c5266
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x264/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

mkdir -vp ${PREFIX}/bin;

export CFLAGS="-Wall -g -m64 -pipe -O2 -march=x86-64 -fPIC"
if [[ $ARCH = 64 ]]; then
export CFLAGS="-Wall -g -m64 -pipe -O2 -march=x86-64 -fPIC"
else
export CFLAGS="-Wall -g -m64 -pipe -O2 -march=x86 -fPIC"
fi
export CXXLAGS="${CFLAGS}"
#export CPPFLAGS="-I${PREFIX}/include"
#export LDFLAGS="-L${PREFIX}/lib"
Expand Down

0 comments on commit 68c5266

Please sign in to comment.