Commit 3dd7e092 by H.J. Lu Committed by H.J. Lu

Revert the last change in libatomic

Need to properly check if -march=i486 is really needed for -m32 build
of libatomic on Linux/x86 and Linux/x86-64.

	PR target/70454
	* configure.tgt (XCFLAGS): Revert the last change.

From-SVN: r235411
parent 9c8a71e6
2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
PR target/70454
* configure.tgt (XCFLAGS): Revert the last change.
2016-04-20 H.J. Lu <hongjiu.lu@intel.com> 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
PR target/70454 PR target/70454
......
...@@ -81,8 +81,14 @@ case "${target_cpu}" in ...@@ -81,8 +81,14 @@ case "${target_cpu}" in
try_ifunc=yes try_ifunc=yes
;; ;;
x86_64) x86_64)
# x86_64 compiler passes -march=x86_64 by default when building case " ${CC} ${CFLAGS} " in
# 32bit target libraries. *" -m32 "*)
XCFLAGS="${XCFLAGS} -march=i486 -mtune=generic"
XCFLAGS="${XCFLAGS} -fomit-frame-pointer"
;;
*)
;;
esac
ARCH=x86 ARCH=x86
# ??? Detect when -mcx16 is already enabled. # ??? Detect when -mcx16 is already enabled.
try_ifunc=yes try_ifunc=yes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment