aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-03-16 13:26:27 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-03-16 13:26:27 +0000
commitf1bf3ec3b8052d10da71cd2d82be99ef72017044 (patch)
tree0cd9eda20486f273ca75f0d8e39492b3b2fcc89f /devel/avr-gcc
parente923766cdcd2f6cea6bb70483440c22e3516edc9 (diff)
downloadports-f1bf3ec3b8052d10da71cd2d82be99ef72017044.tar.gz
ports-f1bf3ec3b8052d10da71cd2d82be99ef72017044.zip
Finally get the avr-gcc port really compile on the alpha architecture,
by forcing the CFLAGS to -O -pipe. Somehow, the alpha build always tries to enforce a particular -mcpu=ev4 flag which of course cannot be understood by the (AVR) xgcc later on. This looks to me like a bug in the cross-compilation environment of gcc, but i'm tired of actually finding the bug. The compiled result of avr-gcc MD5 compares equal to something build from an IA32 host platform.
Notes
Notes: svn path=/head/; revision=39916
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index 29656d92a37c..2fed433ac19c 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -34,6 +34,7 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr
+CONFIGURE_ENV= CFLAGS="-O -pipe"
MAKE_FLAGS= LANGUAGES="c"