summaryrefslogtreecommitdiff
path: root/pkgtools/bootstrap-mk-files
diff options
context:
space:
mode:
authorsevan <sevan@pkgsrc.org>2015-09-04 11:50:47 +0000
committersevan <sevan@pkgsrc.org>2015-09-04 11:50:47 +0000
commitf7ae2cb9404c6693dbb4aa98d96f16889f8c80a6 (patch)
treeb94598df7b218f540d9912fd53afeb50f2f40844 /pkgtools/bootstrap-mk-files
parent771dae86a4c7136862a94f49d1d7b1a416b25f72 (diff)
downloadpkgsrc-f7ae2cb9404c6693dbb4aa98d96f16889f8c80a6.tar.gz
Remove references to a.out.
Add the necessary PIC flags for ELF shared libraries which is now assumed by default. Reviewed by joerg@ wiz@
Diffstat (limited to 'pkgtools/bootstrap-mk-files')
-rw-r--r--pkgtools/bootstrap-mk-files/files/mods/Bitrig.bsd.lib.mk22
1 files changed, 6 insertions, 16 deletions
diff --git a/pkgtools/bootstrap-mk-files/files/mods/Bitrig.bsd.lib.mk b/pkgtools/bootstrap-mk-files/files/mods/Bitrig.bsd.lib.mk
index 5a5a7a12787..f232644d3d7 100644
--- a/pkgtools/bootstrap-mk-files/files/mods/Bitrig.bsd.lib.mk
+++ b/pkgtools/bootstrap-mk-files/files/mods/Bitrig.bsd.lib.mk
@@ -1,4 +1,4 @@
-# $NetBSD: Bitrig.bsd.lib.mk,v 1.1 2015/06/04 15:48:45 sevan Exp $
+# $NetBSD: Bitrig.bsd.lib.mk,v 1.2 2015/09/04 11:50:47 sevan Exp $
# @(#)bsd.lib.mk 8.3 (Berkeley) 4/22/94
.if !target(__initialized__)
@@ -100,26 +100,16 @@ SHLIB_FULLVERSION=${SHLIB_MAJOR}
# (usually just ${CPPPICFLAGS} ${CPICFLAGS})
# APICFLAGS: flags for ${AS} to assemble .[sS] to .so objects.
-# Platform-independent flags for Bitrig a.out shared libraries
-SHLIB_LDSTARTFILE=
-SHLIB_LDENDFILE=
-SHLIB_SOVERSION=${SHLIB_FULLVERSION}
-SHLIB_SHFLAGS=
-FPICFLAGS ?= -fPIC
-CPICFLAGS?= -fPIC -DPIC
-CPPPICFLAGS?= -DPIC
-CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
-APICFLAGS?= -k
-
-MKPICLIB?= yes
-
# Platform-independent linker flags for ELF shared libraries
-.if ${OBJECT_FMT} == "ELF"
SHLIB_SOVERSION= ${SHLIB_MAJOR}
SHLIB_SHFLAGS= -Wl,-soname,lib${LIB}.so.${SHLIB_SOVERSION}
SHLIB_LDSTARTFILE?= ${DESTDIR}/usr/lib/crtbeginS.o
SHLIB_LDENDFILE?= ${DESTDIR}/usr/lib/crtendS.o
-.endif
+FPICFLAGS?= -fPIC
+CPICFLAGS?= -fPIC -DPIC
+CPPPICFLAGS?= -DPIC
+CAPICFLAGS?= ${CPPPICFLAGS} ${CPICFLAGS}
+APICFLAGS?= -k
CFLAGS+= ${COPTS}
FFLAGS+= ${FOPTS}