aboutsummaryrefslogtreecommitdiff
path: root/devel/i386-rtems-gcc/Makefile
diff options
context:
space:
mode:
authorJames E. Housley <jeh@FreeBSD.org>2003-11-03 13:16:25 +0000
committerJames E. Housley <jeh@FreeBSD.org>2003-11-03 13:16:25 +0000
commit2a74a88b013d3749f784a5d338eee4aa249a1da2 (patch)
tree900b73e78661e45f166ac867dfa0d25c1861b748 /devel/i386-rtems-gcc/Makefile
parent279335b8ba05e95436e3d0762025a3cfb938a814 (diff)
downloadports-2a74a88b013d3749f784a5d338eee4aa249a1da2.tar.gz
ports-2a74a88b013d3749f784a5d338eee4aa249a1da2.zip
Notes
Diffstat (limited to 'devel/i386-rtems-gcc/Makefile')
-rw-r--r--devel/i386-rtems-gcc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/i386-rtems-gcc/Makefile b/devel/i386-rtems-gcc/Makefile
index 941fa7fc5e56..509d0552562b 100644
--- a/devel/i386-rtems-gcc/Makefile
+++ b/devel/i386-rtems-gcc/Makefile
@@ -29,7 +29,8 @@ COMMENT= FSF C/C++-gcc-3.2.3 base-port for RTEMS development
BROKEN= "Does not build"
.endif
-LCLTARGET?= i386-rtems
+RTEMS_ARCH?= i386
+LCLTARGET= ${RTEMS_ARCH}-rtems
GCCVERSION= 3.2.3
GCCNAME= gcc-${GCCVERSION}
@@ -64,6 +65,7 @@ PATCH_WRKSRC= ${WRKDIR}
PATCH_STRIP= -p
MAKE_FLAGS= LANGUAGES="c c++"
+MAKE_ENV= MACHINE_ARCH=${RTEMS_ARCH}
MAN1= ${LCLTARGET}-gcc.1 ${LCLTARGET}-g++.1 \
cpp.1 gcov.1