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
9e1c52b0
Commit
9e1c52b0
authored
Aug 29, 2011
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
old contribs: fix c++ compile for android
parent
6691fa04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
extras/contrib/bootstrap
extras/contrib/bootstrap
+8
-0
No files found.
extras/contrib/bootstrap
View file @
9e1c52b0
...
...
@@ -370,10 +370,18 @@ case "$DISTRO" in
# Add the PATH to the NDK
add_makefile_cfg
"ANDROID_NDK =
${
ANDROID_NDK
}
"
add_makefile_cfg
"PATH =
${
ANDROID_NDK
}
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:
${
PATH
}
"
add_enabled_makefile_cfg
"HAVE_LINUX"
if
test
-z
"
$NO_NEON
"
;
then
add_enabled_makefile_cfg
"HAVE_NEON"
ARM_EABI
=
armeabi-v7a
else
ARM_EABI
=
armeabi
fi
# make sure android toolchain can build C++
EXTRA_CPPFLAGS
=
"
$EXTRA_CPPFLAGS
-D__STDC_VERSION__=199901L"
EXTRA_CPPFLAGS
=
"
$EXTRA_CPPFLAGS
-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/include"
EXTRA_CPPFLAGS
=
"
$EXTRA_CPPFLAGS
-I
${
ANDROID_NDK
}
/sources/cxx-stl/gnu-libstdc++/libs/
$ARM_EABI
/include"
esac
# Save passed flags
...
...
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