diff options
author | wiz <wiz@pkgsrc.org> | 2007-01-19 18:04:03 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-01-19 18:04:03 +0000 |
commit | 540b525c8838ad1a0a9e161d21dec25366bc49ee (patch) | |
tree | f51ff0942a1041d927feebbc137d62f327f25476 /x11/py-qt3-sip | |
parent | 278f3536114bfc18855bc5d84dadac7bcdf2ac1a (diff) | |
download | pkgsrc-540b525c8838ad1a0a9e161d21dec25366bc49ee.tar.gz |
Fix compilation on platforms where gcc does not produce PIC objects by default.
Diffstat (limited to 'x11/py-qt3-sip')
-rw-r--r-- | x11/py-qt3-sip/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/py-qt3-sip/Makefile b/x11/py-qt3-sip/Makefile index 84c561bfc44..29fcda6317f 100644 --- a/x11/py-qt3-sip/Makefile +++ b/x11/py-qt3-sip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2006/04/17 13:46:05 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2007/01/19 18:04:03 wiz Exp $ # DISTNAME= sip-4.3.2 @@ -37,6 +37,7 @@ CONFIGURE_ARGS+= CFLAGS_SHLIB=-fno-common CONFIGURE_ARGS+= LFLAGS_PLUGIN="-bundle -flat_namespace -undefined suppress" .else CONFIGURE_ARGS+= CFLAGS_SHLIB=-fPIC +CONFIGURE_ARGS+= CXXFLAGS_SHLIB=-fPIC .if ${OPSYS} == "SunOS" && !empty(CC_VERSION:Mgcc*) # gcc3 uses -mimpure-text to not pass -assert pure-text to the linker CONFIGURE_ARGS+= LFLAGS_SHLIB="-shared -mimpure-text" |