Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zenroom
Zenroom
Commits
cbd368e2
Commit
cbd368e2
authored
Sep 30, 2018
by
Jaromil
Browse files
explicit ar path
parent
172bc700
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
cbd368e2
...
...
@@ -87,7 +87,7 @@ lua53:
milagro
:
@
echo
"-- Building milagro (
${system}
)"
if
!
[
-r
${pwd}
/lib/milagro-crypto-c/CMakeCache.txt
]
;
then
cd
${pwd}
/lib/milagro-crypto-c
&&
CC
=
${gcc}
AR
=
/usr/bin/ar
RANLIB
=
/usr/bin/ranlib
LD
=
${ld}
cmake
.
-DCMAKE_C_FLAGS
=
"
${cflags}
"
-DCMAKE_SYSTEM_NAME
=
"
${system}
"
-DCMAKE_AR
=
${AR}
${milagro_cmake_flags}
;
fi
if
!
[
-r
${pwd}
/lib/milagro-crypto-c/CMakeCache.txt
]
;
then
cd
${pwd}
/lib/milagro-crypto-c
&&
CC
=
${gcc}
LD
=
${ld}
cmake
.
-DCMAKE_C_FLAGS
=
"
${cflags}
"
-DCMAKE_SYSTEM_NAME
=
"
${system}
"
-DCMAKE_AR
=
/usr/bin/ar
${milagro_cmake_flags}
;
fi
if
!
[
-r
${pwd}
/lib/milagro-crypto-c/lib/libamcl_core.a
]
;
then
CC
=
${gcc}
CFLAGS
=
"
${cflags}
"
AR
=
${ar}
RANLIB
=
${ranlib}
LD
=
${ld}
make
-C
${pwd}
/lib/milagro-crypto-c
VERBOSE
=
1
;
fi
check-milagro
:
milagro
...
...
Write
Preview
Supports
Markdown
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