mirror of
https://gcc.gnu.org/git/gcc.git
synced 2026-02-22 03:46:53 -05:00
[AutoFDO] Fix profile bootstrap for x86_64
This patch fixes profile bootstrap for x86_64 by special caseing cpu_type for x86_64 as it shares AUTO_PROFILE from i386. ChangeLog: * configure.ac: Special case cpu_type for x86_64. * configure: Regenerate. Signed-off-by: Kugan Vivekanandarajah <kvivekananda@nvidia.com>
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -3397,6 +3397,10 @@ case "${target}" in
|
||||
esac
|
||||
|
||||
cpu_type=`echo ${host} | sed 's/-.*$//'`
|
||||
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
|
||||
if test "${cpu_type}" = "x86_64" ; then
|
||||
cpu_type="i386"
|
||||
fi
|
||||
|
||||
|
||||
# Disable libssp for some systems.
|
||||
|
||||
@@ -622,6 +622,10 @@ case "${target}" in
|
||||
esac
|
||||
|
||||
cpu_type=`echo ${host} | sed 's/-.*$//'`
|
||||
# Special case cpu_type for x86_64 as it shares AUTO_PROFILE from i386.
|
||||
if test "${cpu_type}" = "x86_64" ; then
|
||||
cpu_type="i386"
|
||||
fi
|
||||
AC_SUBST(cpu_type)
|
||||
|
||||
# Disable libssp for some systems.
|
||||
|
||||
Reference in New Issue
Block a user