diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2010-12-02 22:00:57 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2010-12-02 22:00:57 +0000 |
commit | 2006fbc8fec1e18033bf43636293aa46906b89ea (patch) | |
tree | 0600b5a3236826e13368d3fabc5da5fbf9323280 /gnu | |
parent | 1e7a698a31ff66a50baadb26a9b2a54b8896f3bd (diff) | |
parent | e5c723f123735a4e67bd33867a80a003c88ef765 (diff) | |
download | src-2006fbc8fec1e18033bf43636293aa46906b89ea.tar.gz src-2006fbc8fec1e18033bf43636293aa46906b89ea.zip |
Sync: merge r215944 through r216132 from ^/head.
Notes
Notes:
svn path=/projects/binutils-2.17/; revision=216133
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.fe | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/cc/Makefile.fe b/gnu/usr.bin/cc/Makefile.fe index d9c5fe58574e..a681510cf02e 100644 --- a/gnu/usr.bin/cc/Makefile.fe +++ b/gnu/usr.bin/cc/Makefile.fe @@ -19,7 +19,9 @@ CFLAGS+= ${DRIVER_DEFINES} SRCS= gcc.c opts-common.c options.c intl.c prefix.c version.c -.if exists(${GCCDIR}/config/${GCC_CPU}/driver-${GCC_CPU}.c) +# Include -march=native support for native-ish compilers only +.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64") && \ + ${GCC_CPU} == "i386" SRCS+= driver-${GCC_CPU}.c .endif |