Skip to content

Commit

Permalink
configure debug dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Oct 31, 2023
1 parent 7019fef commit 5a19138
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/relenv_gdb/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ def build_gdb(prefix):

archive_name = str(src / pathlib.Path(url).name)
relenv.common.extract_archive(str(src), archive_name)

dir_name = archive_name.split(".tar")[0]
dir_name = archive_name.split(".tar")[0]
os.environ.update(relenv.buildenv.buildenv(prefix))
os.environ[
"CFLAGS"
Expand Down Expand Up @@ -85,8 +84,7 @@ def build_gdb(prefix):
f"--prefix={os.environ['RELENV_PATH']}/lib/python3.10/site-packages/relenv_gdb/gdb",
f"--with-python={os.environ['RELENV_PATH']}/bin/python3",
"--with-lzma",
"--without-nss",
]
"--with-separate-debug-dir=/usr/lib/debug",
)
# os.environ[
# "LDFLAGS"
Expand Down

0 comments on commit 5a19138

Please sign in to comment.