diff options
author | abs <abs@pkgsrc.org> | 2001-12-29 16:53:34 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2001-12-29 16:53:34 +0000 |
commit | 06a79a303255e5c3105d504d9ed4105e3329af6b (patch) | |
tree | 256696eaa2056d4ce4d4d8ee7416aa70f99f8cc1 /audio | |
parent | db15293cd75ef186e8a70bd8076b1bf1fdbbfac3 (diff) | |
download | pkgsrc-06a79a303255e5c3105d504d9ed4105e3329af6b.tar.gz |
Fix audio/libvorbis to work on 1.5 arm32 platforms - avoid optimisation when
compiling floor1.c
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libvorbis/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile index 42b6a2dc3ba..2bbbdbca8de 100644 --- a/audio/libvorbis/Makefile +++ b/audio/libvorbis/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2001/11/29 19:46:10 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2001/12/29 16:53:34 abs Exp $ DISTNAME= libvorbis-1.0rc2 PKGNAME= libvorbis-1.0.0.6 @@ -20,5 +20,13 @@ LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig PLIST_SUBST+= DISTNAME=${DISTNAME} +.if (${MACHINE_ARCH} == "arm32") +ARM32_COMPILER_WORKAROUND!=gcc -v 2>&1 | awk '/egcs-2.91.66/{print $$3}' +.ifdef ${ARM32_COMPILER_WORKAROUND} +post-configure: + printf '\nfloor1.lo:\n\t$$(LIBTOOL) --mode=compile $$(COMPILE) -O0 -c $$<\n\n' >> ${WRKSRC}/lib/Makefile +.endif +.endif + .include "../../audio/libogg/buildlink.mk" .include "../../mk/bsd.pkg.mk" |