mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
libhsmd: Always use gcc to configure and compile
This commit is contained in:
parent
431683293f
commit
c6a3d30bec
1 changed files with 7 additions and 2 deletions
|
@ -19,7 +19,7 @@ class ClExtension(Extension):
|
|||
|
||||
# The directory we compile external depencies is architecture specific.
|
||||
external_target = pathlib.Path("external") / subprocess.check_output(
|
||||
["clang", "-dumpmachine"]
|
||||
["gcc", "-dumpmachine"]
|
||||
).strip().decode("ASCII")
|
||||
|
||||
|
||||
|
@ -46,7 +46,12 @@ class build_ext(build_ext_orig):
|
|||
cwd=cwd,
|
||||
)
|
||||
|
||||
subprocess.check_call(["./configure"], cwd=cwd / "src")
|
||||
subprocess.check_call([
|
||||
"./configure",
|
||||
"--disable-developer",
|
||||
"--disable-valgrind",
|
||||
"CC=gcc"
|
||||
], cwd=cwd / "src")
|
||||
|
||||
# Selectively build some targets we rely on later
|
||||
subprocess.check_call(["make", "lightningd/lightning_hsmd"], cwd=srcdir)
|
||||
|
|
Loading…
Add table
Reference in a new issue