diff options
author | joerg <joerg@FreeBSD.org> | 2003-05-20 14:02:40 +0800 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2003-05-20 14:02:40 +0800 |
commit | 99c23d57ed6e6e12f19a7c04746c5b7055fbc8d2 (patch) | |
tree | f9d29ce9f5f673414bca0fcc094d72cb56370cab /devel | |
parent | 9bf0545229c261471406221151d05c560893cd19 (diff) | |
download | freebsd-ports-gnome-99c23d57ed6e6e12f19a7c04746c5b7055fbc8d2.tar.gz freebsd-ports-gnome-99c23d57ed6e6e12f19a7c04746c5b7055fbc8d2.tar.zst freebsd-ports-gnome-99c23d57ed6e6e12f19a7c04746c5b7055fbc8d2.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
Diffstat (limited to 'devel')
-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}) |