summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.netbsd
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-21 22:36:14 +0000
committerPeter Eisentraut2000-10-21 22:36:14 +0000
commitf8ff1ee5aab125fc1e5e130e6055a0e6586ce440 (patch)
treeb8ccedfa296d6a8acbb7277e7c0347dbdfac6b66 /src/makefiles/Makefile.netbsd
parent0968601b1baaceb8e9d6b437e8e740b4c9ff34c5 (diff)
Move DLSUFFIX, AROPT, and CFLAGS_SL settings from template to
Makefile.port, since they are of no use to configure and much of the library magic happens in Makefile.port anyway. Use __alpha, not __alpha__, since the former is universally available. Remove -DNOFIXADE from the compile command line and put it in the port include file.
Diffstat (limited to 'src/makefiles/Makefile.netbsd')
-rw-r--r--src/makefiles/Makefile.netbsd6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd
index ef9fbbee641..79684ecfc15 100644
--- a/src/makefiles/Makefile.netbsd
+++ b/src/makefiles/Makefile.netbsd
@@ -1,6 +1,12 @@
+AROPT = cq
+
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
endif
+
+DLSUFFIX = .so
+CFLAGS_SL = -fpic -DPIC
+
%.so: %.o
ifdef ELF_SYSTEM
$(LD) -x -Bshareable -o $@ $<