Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
nghttp2
Commits
1164e931
Commit
1164e931
authored
Jan 11, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use clang for android build
With androideabi-4.9, android build now supports threading.
parent
0e8afdb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
android-config
android-config
+2
-2
configure.ac
configure.ac
+2
-2
doc/sources/building-android-binary.rst
doc/sources/building-android-binary.rst
+3
-1
No files found.
android-config
View file @
1164e931
...
...
@@ -39,8 +39,8 @@ PATH=$TOOLCHAIN/bin:$PATH
--without-libxml2
\
--disable-python-bindings
\
--disable-examples
\
--disable-threads
\
CC
=
clang
\
CXX
=
clang++
\
CPPFLAGS
=
"-I
$PREFIX
/include"
\
CXXFLAGS
=
"-fno-strict-aliasing"
\
PKG_CONFIG_LIBDIR
=
"
$PREFIX
/lib/pkgconfig"
\
LDFLAGS
=
"-L
$PREFIX
/lib"
configure.ac
View file @
1164e931
...
...
@@ -224,8 +224,8 @@ LIBS=$LIBS_OLD
case "$host" in
*android*)
android_build=yes
# android does not need -pthread, but needs followng
2
libs for C++
APPLDFLAGS="$APPLDFLAGS -lstdc++ -lsupc++"
# android does not need -pthread, but needs followng
3
libs for C++
APPLDFLAGS="$APPLDFLAGS -lstdc++ -l
atomic -l
supc++"
;;
*)
PTHREAD_LDFLAGS="-pthread"
...
...
doc/sources/building-android-binary.rst
View file @
1164e931
...
...
@@ -21,7 +21,9 @@ unpacked::
$ build/tools/make-standalone-toolchain.sh \
--install-dir=$ANDROID_HOME/toolchain \
--toolchain=arm-linux-androideabi-4.8
--toolchain=arm-linux-androideabi-4.9 \
--llvm-version=3.5 \
--platform=android-16
The additional flag ``--system=linux-x86_64`` may be required if you
are using x86_64 system.
...
...
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