Disable integrated assembler for clang and force default visiblity to
hidden, otherwise some assembler relocations don't work on AMD64.
This commit is contained in:
parent
52c6af0a7c
commit
7bca28b2ac
1 changed files with 7 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.85 2011/08/21 16:44:30 abs Exp $
|
||||
# $NetBSD: Makefile,v 1.86 2012/01/23 08:08:25 joerg Exp $
|
||||
|
||||
PKGNAME= MesaLib-${MESA_PKGVERSION}
|
||||
PKGREVISION= 3
|
||||
|
@ -73,6 +73,12 @@ pre-install:
|
|||
pre-build:
|
||||
cd ${WRKSRC} && ${RM} -fr src/glu src/glut progs
|
||||
|
||||
.include "../../mk/compiler.mk"
|
||||
|
||||
.if !empty(PKGSRC_COMPILER:Mclang)
|
||||
CFLAGS+= -no-integrated-as -fvisibility=hidden
|
||||
.endif
|
||||
|
||||
# no configure phase
|
||||
.include "../../mk/configure/pkg-config-override.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
||||
|
|
Loading…
Reference in a new issue