]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101278: Drop -gdwarf-4 flag from the BOLT build (gh-101280)
authorDong-hee Na <donghee.na@python.org>
Tue, 24 Jan 2023 10:22:00 +0000 (19:22 +0900)
committerGitHub <noreply@github.com>
Tue, 24 Jan 2023 10:22:00 +0000 (19:22 +0900)
configure
configure.ac

index 709913dee8314d727794618a36bc85795f7b9e88..8b707cda62129f04d78715c481154f328139a20d 100755 (executable)
--- a/configure
+++ b/configure
@@ -7961,9 +7961,6 @@ fi
   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"
 
   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.
index 12249b2d472900ace127dc823af0bfa3c53d9950..5eee4586680dbbe2ee00d1f116b954b453948168 100644 (file)
@@ -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}"