Add -fPIC to CPPFLAGS to fix build on NetBSD-6.99.24/amd64/clang/libc++.

This commit is contained in:
wiz 2013-10-31 15:10:49 +00:00
parent 5358862587
commit e47d103e8c

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.36 2013/10/21 09:48:10 fhajny Exp $
# $NetBSD: Makefile,v 1.37 2013/10/31 15:10:49 wiz Exp $
DISTNAME= dosbox-0.74
PKGREVISION= 4
@ -13,6 +13,7 @@ LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CPPFLAGS.SunOS+= -DDISABLE_JOYSTICK
CPPFLAGS+= -fPIC
LDFLAGS.SunOS+= -lsocket
INSTALLATION_DIRS= share/doc/dosbox