]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - gcc/patches/gcc47-i386-libgomp.patch0
gcc: Update to 4.7.0.
[people/ms/ipfire-3.x.git] / gcc / patches / gcc47-i386-libgomp.patch0
CommitLineData
4de56d3e
MT
1--- libgomp/configure.tgt.jj 2008-01-10 20:53:48.000000000 +0100
2+++ libgomp/configure.tgt 2008-03-27 12:44:51.000000000 +0100
3@@ -44,14 +44,14 @@ if test $enable_linux_futex = yes; then
4 ;;
5
6 # Note that bare i386 is not included here. We need cmpxchg.
7- i[456]86-*-linux*)
8+ i[456]86-*-linux*)
9 config_path="linux/x86 linux posix"
10 case " ${CC} ${CFLAGS} " in
11 *" -m64 "*)
12 ;;
13 *)
14 if test -z "$with_arch"; then
15- XCFLAGS="${XCFLAGS} -march=i486 -mtune=${target_cpu}"
16+ XCFLAGS="${XCFLAGS} -march=i486 -mtune=generic"
17 fi
18 esac
19 ;;
20@@ -63,7 +63,7 @@ if test $enable_linux_futex = yes; then
21 config_path="linux/x86 linux posix"
22 case " ${CC} ${CFLAGS} " in
23 *" -m32 "*)
24- XCFLAGS="${XCFLAGS} -march=i486 -mtune=i686"
25+ XCFLAGS="${XCFLAGS} -march=i486 -mtune=generic"
26 ;;
27 esac
28 ;;