Skip to content

Commit

Permalink
pythongh-101278: Drop -gdwarf-4 flag from the BOLT build (pythongh-10…
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored Jan 24, 2023
1 parent 8c183cd commit a958e7d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions configure

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1952,9 +1952,6 @@ if test "$Py_BOLT" = 'true' ; then
CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
# We want to add these no-pie flags to linking executables but not shared libraries:
LINKCC="$LINKCC -fno-pie -no-pie"
# Designate the DWARF version into 4 since the LLVM-BOLT does not support DWARF5 yet.
CFLAGS="$CFLAGS -gdwarf-4"
LDFLAGS="$LDFLAGS -gdwarf-4"
AC_SUBST(LLVM_BOLT)
AC_PATH_TOOL(LLVM_BOLT, llvm-bolt, '', ${llvm_path})
if test -n "${LLVM_BOLT}" -a -x "${LLVM_BOLT}"
Expand Down

0 comments on commit a958e7d

Please sign in to comment.