diff options
author | abs <abs> | 2001-12-29 16:53:34 +0000 |
---|---|---|
committer | abs <abs> | 2001-12-29 16:53:34 +0000 |
commit | 46320b2886b1fc0186f7d127e11c279c65e9a732 (patch) | |
tree | 256696eaa2056d4ce4d4d8ee7416aa70f99f8cc1 /audio | |
parent | 386d7e6b42374d0c216d00b58a0e343c047233c1 (diff) | |
download | pkgsrc-46320b2886b1fc0186f7d127e11c279c65e9a732.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" |