mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
gh-101278: Drop -gdwarf-4 flag from the BOLT build (gh-101280)
This commit is contained in:
parent
8c183cddd3
commit
a958e7d35a
2 changed files with 0 additions and 6 deletions
3
configure
generated
vendored
3
configure
generated
vendored
|
@ -7961,9 +7961,6 @@ fi
|
||||||
CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
|
CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
|
||||||
# We want to add these no-pie flags to linking executables but not shared libraries:
|
# We want to add these no-pie flags to linking executables but not shared libraries:
|
||||||
LINKCC="$LINKCC -fno-pie -no-pie"
|
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"
|
|
||||||
|
|
||||||
if test -n "$ac_tool_prefix"; then
|
if test -n "$ac_tool_prefix"; then
|
||||||
# Extract the first word of "${ac_tool_prefix}llvm-bolt", so it can be a program name with args.
|
# Extract the first word of "${ac_tool_prefix}llvm-bolt", so it can be a program name with args.
|
||||||
|
|
|
@ -1952,9 +1952,6 @@ if test "$Py_BOLT" = 'true' ; then
|
||||||
CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
|
CFLAGS_NODIST="$CFLAGS_NODIST -fno-pie"
|
||||||
# We want to add these no-pie flags to linking executables but not shared libraries:
|
# We want to add these no-pie flags to linking executables but not shared libraries:
|
||||||
LINKCC="$LINKCC -fno-pie -no-pie"
|
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_SUBST(LLVM_BOLT)
|
||||||
AC_PATH_TOOL(LLVM_BOLT, llvm-bolt, '', ${llvm_path})
|
AC_PATH_TOOL(LLVM_BOLT, llvm-bolt, '', ${llvm_path})
|
||||||
if test -n "${LLVM_BOLT}" -a -x "${LLVM_BOLT}"
|
if test -n "${LLVM_BOLT}" -a -x "${LLVM_BOLT}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue