Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
68080f2b
Commit
68080f2b
authored
Mar 16, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android configure: simplify flags and allow tegra2 configuration
parent
79d5eab5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
extras/package/android/configure.sh
extras/package/android/configure.sh
+8
-3
No files found.
extras/package/android/configure.sh
View file @
68080f2b
...
@@ -9,20 +9,25 @@ ANDROID_API=android-9
...
@@ -9,20 +9,25 @@ ANDROID_API=android-9
VLC_SOURCEDIR
=
"
`
dirname
$0
`
/../../.."
VLC_SOURCEDIR
=
"
`
dirname
$0
`
/../../.."
CFLAGS
=
"-g -O2 -mlong-calls -fstrict-aliasing -
fprefetch-loop-arrays -ffast-math
"
CFLAGS
=
"-g -O2 -mlong-calls -fstrict-aliasing -
mfloat-abi=softfp -funsafe-math-optimizations
"
LDFLAGS
=
"-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
LDFLAGS
=
"-Wl,-Bdynamic,-dynamic-linker=/system/bin/linker -Wl,--no-undefined"
if
[
-z
"
$NO_NEON
"
]
;
then
if
[
-z
"
$NO_NEON
"
]
;
then
CXX_TARGET
=
"armeabi-v7a"
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=neon -m
arch=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -ftree-vectorize -mvectorize-with-neon-quad -funsafe-math-optimizations
"
CFLAGS
=
"
$CFLAGS
-mfpu=neon -m
cpu=cortex-a8
"
LDFLAGS
=
"
$LDFLAGS
-Wl,--fix-cortex-a8"
LDFLAGS
=
"
$LDFLAGS
-Wl,--fix-cortex-a8"
EXTRA_PARAMS
=
" --enable-neon"
EXTRA_PARAMS
=
" --enable-neon"
else if
[
-n
"
$TEGRA2
"
]
CXX_TARGET
=
"armeabi-v7a"
CFLAGS
=
"
$CFLAGS
-mfpu=vfpv3-d16 -mcpu=cortex-a9"
EXTRA_PARAMS
=
" --disable-neon"
else
else
CXX_TARGET
=
"armeabi"
CXX_TARGET
=
"armeabi"
CFLAGS
=
"
$CFLAGS
-m
arch=armv6j -mtune=arm1136j-s -msoft-float
"
CFLAGS
=
"
$CFLAGS
-m
cpu=arm1136jf-s -mfpu=vfp
"
EXTRA_PARAMS
=
" --disable-neon"
EXTRA_PARAMS
=
" --disable-neon"
fi
fi
CPPFLAGS
=
"-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/include -I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
/include"
CPPFLAGS
=
"-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/include -I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
/include"
LDFLAGS
=
"
$LDFLAGS
-L
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
"
LDFLAGS
=
"
$LDFLAGS
-L
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
${
CXX_TARGET
}
"
...
...
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