diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2003-05-20 06:02:40 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2003-05-20 06:02:40 +0000 |
commit | f2a55d5416ff94918e6a7c6485088741e96d434c (patch) | |
tree | d474f048b1dc3ba7cc13681c44b0573e54c57f5c /devel/avr-libc | |
parent | 9937799519be50134f1b0e8530de332290d69af5 (diff) | |
download | ports-f2a55d5416ff94918e6a7c6485088741e96d434c.tar.gz ports-f2a55d5416ff94918e6a7c6485088741e96d434c.zip |
Work around FreeBSD 5.x's bug by design that indoctrinates
-mcpu=mycpuserialno in the default installation to everybody, and
override the user's CFLAGS and CXXFLAGS with sane defaults, so this
cross-compilation works again.
Long live creaping featurism!
Submitted by: ru
Notes
Notes:
svn path=/head/; revision=81521
Diffstat (limited to 'devel/avr-libc')
-rw-r--r-- | devel/avr-libc/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/avr-libc/Makefile b/devel/avr-libc/Makefile index 61948e776db4..3bc04bdd9a67 100644 --- a/devel/avr-libc/Makefile +++ b/devel/avr-libc/Makefile @@ -31,8 +31,12 @@ HAS_CONFIGURE= yes CONFIGURE_ENV= CC=avr-gcc PREFIX=${PREFIX} CONFIGURE_SCRIPT= doconf CONFIGURE_ARGS= --enable-doc --disable-versioned-doc -# Work around the braind*** introduced by <bsd.cpu.mk> in freebsd-current. +# Work around the braind***ness introduced by <bsd.cpu.mk> in freebsd-5. +# Sorry, the user is no longer be able to override the optimization and +# debugging settings now. MAKE_ENV= NO_CPU_CFLAGS=true +CFLAGS= -O +CXXFLAGS= -O do-build: (cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ./domake MAKE=${GMAKE}) |