Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
cb2da47e
Commit
cb2da47e
authored
Mar 29, 2018
by
Etienne Samson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
travis: pass -fPIC when configuring mbedtls
parent
10aff3d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
script/install-deps-linux.sh
+2
-1
No files found.
script/install-deps-linux.sh
View file @
cb2da47e
...
@@ -5,7 +5,8 @@ set -x
...
@@ -5,7 +5,8 @@ set -x
if
[
"
$MBEDTLS
"
]
;
then
if
[
"
$MBEDTLS
"
]
;
then
git clone
--depth
10
--single-branch
--branch
mbedtls-2.6.1 https://github.com/ARMmbed/mbedtls.git ./deps/mbedtls
git clone
--depth
10
--single-branch
--branch
mbedtls-2.6.1 https://github.com/ARMmbed/mbedtls.git ./deps/mbedtls
cd
./deps/mbedtls
cd
./deps/mbedtls
cmake
-DENABLE_PROGRAMS
=
OFF
-DENABLE_TESTING
=
OFF
-DUSE_SHARED_MBEDTLS_LIBRARY
=
ON
-DUSE_STATIC_MBEDTLS_LIBRARY
=
OFF
.
# We pass -fPIC explicitely because we'll include it in libgit2.so
CFLAGS
=
-fPIC
cmake
-DENABLE_PROGRAMS
=
OFF
-DENABLE_TESTING
=
OFF
-DUSE_SHARED_MBEDTLS_LIBRARY
=
OFF
-DUSE_STATIC_MBEDTLS_LIBRARY
=
ON
.
cmake
--build
.
cmake
--build
.
echo
"mbedTLS built in
`
pwd
`
"
echo
"mbedTLS built in
`
pwd
`
"
...
...
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