Skip to content

Commit

Permalink
Skip check on patchelf calls
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Sep 3, 2024
1 parent f87acb5 commit fd6a391
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/relenv_gdb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def build_gdb(prefix):
# os.environ['LDFLAGS'] = f"-Wl,-rpath,{os.environ['RELENV_PATH']}/lib {os.environ['LDFLAGS']}"
os.environ["CFLAGS"] = (
f"{os.environ['CFLAGS']} -I{os.environ['RELENV_PATH']}/include/ncursesw "
# f"-I{os.environ['RELENV_PATH']}/include/python3.10"
# f"-I{os.environ['RELENV_PATH']}/include/python3.10"
)
os.environ["CPPFLAGS"] = (
f"{os.environ['CPPFLAGS']} -I{os.environ['RELENV_PATH']}/include/ncursesw "
# f"-I{os.environ['RELENV_PATH']}/include/python3.10"
# f"-I{os.environ['RELENV_PATH']}/include/python3.10"
)

print(f"Build environment: {pprint.pformat(dict(os.environ))}")
Expand Down Expand Up @@ -88,7 +88,7 @@ def build_gdb(prefix):
[
"./configure",
f"--prefix={os.environ['RELENV_PATH']}/lib/python3.10/site-packages/relenv_gdb/gdb",
#f"--with-python={os.environ['RELENV_PATH']}/bin/python3",
# f"--with-python={os.environ['RELENV_PATH']}/bin/python3",
"--with-lzma",
"--with-separate-debug-dir=/usr/lib/debug",
],
Expand All @@ -104,7 +104,7 @@ def build_gdb(prefix):
f"{os.environ['TOOLCHAIN_PATH']}/{os.environ['TRIPLET']}/sysroot/lib",
_,
],
check=True,
# check=True,
)
subprocess.run(["make", "install"])

Expand Down

0 comments on commit fd6a391

Please sign in to comment.