summaryrefslogtreecommitdiff
path: root/rtl/netbsd
diff options
context:
space:
mode:
authornickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-19 21:10:31 +0000
committernickysn <nickysn@3ad0048d-3df7-0310-abae-a5850022a9f2>2020-04-19 21:10:31 +0000
commit160802aa67e8d19949a8beaf5c35d611c3aa9dc9 (patch)
tree7f55db319017f74c295a45c532234645ec745bae /rtl/netbsd
parent2555f001190a52c0d3efd172f0d384f6124969a8 (diff)
parentcad728e2965c553c486b60ddc6458c9f96d481de (diff)
downloadfpc-160802aa67e8d19949a8beaf5c35d611c3aa9dc9.tar.gz
* synchronized with trunk
git-svn-id: https://svn.freepascal.org/svn/fpc/branches/z80@44873 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/netbsd')
-rw-r--r--rtl/netbsd/Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/rtl/netbsd/Makefile b/rtl/netbsd/Makefile
index ea85c96f15..d2e18f7a80 100644
--- a/rtl/netbsd/Makefile
+++ b/rtl/netbsd/Makefile
@@ -2328,15 +2328,12 @@ ifneq ($(CROSSGCC),)
GCCLIBDIR:=$(shell dirname `$(CROSSGCC) -print-libgcc-file-name`)
endif
endif
-ifndef OTHERLIBDIR
-OTHERLIBDIR:=$(shell grep -v "^\#" /etc/ld.so.conf | awk '{ ORS=" "; print $1 }')
-endif
endif
ifdef inUnix
ifeq ($(OS_SOURCE),netbsd)
-OTHERLIBDIR+=/usr/pkg/lib
+OTHERLIBDIR:=/usr/pkg/lib
endif
-export GCCLIBDIR OTHERLIB
+export GCCLIBDIR OTHERLIBDIR
endif
BATCHEXT=.bat
LOADEREXT=.as