Commit b3b08ba0 by Matthias Klose Committed by Matthias Klose

configure.tgt (i[456]86-*-linux*): Only add ia32 specific flags if not building with -m64.

2007-04-16  Matthias Klose  <doko@debian.org>

        * configure.tgt (i[456]86-*-linux*): Only add ia32 specific
        flags if not building with -m64.
        * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
        flag for i?86-*-* targets, if current target matches -m64.

From-SVN: r123887
parent 52d412e7
2007-04-16 Matthias Klose <doko@debian.org>
* configure.tgt (i[456]86-*-linux*): Only add ia32 specific
flags if not building with -m64.
* testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march
flag for i?86-*-* targets, if current target matches -m64.
2007-04-14 Steve Ellcey <sje@cup.hp.com> 2007-04-14 Steve Ellcey <sje@cup.hp.com>
* Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS.
......
...@@ -49,9 +49,14 @@ if test $enable_linux_futex = yes; then ...@@ -49,9 +49,14 @@ if test $enable_linux_futex = yes; then
# Note that bare i386 is not included here. We need cmpxchg. # Note that bare i386 is not included here. We need cmpxchg.
i[456]86-*-linux*) i[456]86-*-linux*)
config_path="linux/x86 linux posix" config_path="linux/x86 linux posix"
if test -z "$with_arch"; then case " ${CC} ${CFLAGS} " in
XCFLAGS="${XCFLAGS} -march=i486 -mtune=${target_cpu}" *" -m64 "*)
fi ;;
*)
if test -z "$with_arch"; then
XCFLAGS="${XCFLAGS} -march=i486 -mtune=${target_cpu}"
fi
esac
;; ;;
# Similar jiggery-pokery for x86_64 multilibs, except here we # Similar jiggery-pokery for x86_64 multilibs, except here we
......
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