aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2009-06-28 20:58:46 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2009-06-28 20:58:46 +0000
commit7ebf80a84896e7ef8f5b0dd474c60e104a5b64ba (patch)
tree4e0bcb658a163f1026b695299c6b6a6f976ff4b9 /devel/avr-gcc
parentc88507ba8724415cee0ad8ae8f4dc0ac61fa9fe9 (diff)
downloadports-7ebf80a84896e7ef8f5b0dd474c60e104a5b64ba.tar.gz
ports-7ebf80a84896e7ef8f5b0dd474c60e104a5b64ba.zip
Use the undocumented feature WITHOUT_CPU_CFLAGS rather than MAKE_ENV
to avoid application of the host's CPU architecture options to the cross-compilation environment. Found by: Dominic Fandrey
Notes
Notes: svn path=/head/; revision=236743
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index b7d18d59ee55..6bc50a93d5ab 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= 4.3.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
@@ -47,13 +48,13 @@ GNU_CONFIGURE= yes
ARCH= x86_64
.endif
-CONFLICTS= avr-gcc-[34]*
+CONFLICTS= avr-gcc-3* avr-gcc-42*
CONFIGURE_ARGS= --target=avr --disable-libssp --with-gmp=${LOCALBASE}
MAKE_FLAGS= LANGUAGES="c c++"
-# get rid of that silly -mcpu=pentiumpro FreeBSD 5+ is so fond of. :-(
-MAKE_ENV= MACHINE_ARCH=avr
+
+WITHOUT_CPU_CFLAGS=This is a cross-compiler.
MAN1= avr-cpp.1 avr-gcc.1 avr-g++.1 avr-gcov.1
MAN7= fsf-funding.7 gfdl.7 gpl.7