Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Ewout ter Hoeven
VLC-Android
Commits
ce41cca0
Commit
ce41cca0
authored
Nov 22, 2012
by
Edward Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compile.sh: MIPS support
Close #6931
parent
2a6b679a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
compile.sh
compile.sh
+5
-0
No files found.
compile.sh
View file @
ce41cca0
...
...
@@ -134,6 +134,11 @@ elif [ ${ANDROID_ABI} = "armeabi" ] ; then
fi
elif
[
${
ANDROID_ABI
}
=
"x86"
]
;
then
EXTRA_CFLAGS
=
"-march=pentium -ffunction-sections -funwind-tables -frtti -fno-exceptions"
elif
[
${
ANDROID_ABI
}
=
"mips"
]
;
then
EXTRA_CFLAGS
=
"-march=mips32 -mhard-float"
# All MIPS Linux kernels since 2.4.4 will trap any unimplemented FPU
# instruction and emulate it, so we select -mhard-float.
# See http://www.linux-mips.org/wiki/Floating_point#The_Linux_kernel_and_floating_point
else
echo
"Unknown ABI. Die, die, die!"
exit
2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment