25 lines
890 B
Diff
25 lines
890 B
Diff
Description: remove unsupported options for GNU ld
|
|
It is desirable to use GNU ld, because sunld forces
|
|
base symbols version (option --default-imported-symver for GNU ld),
|
|
causing bootadm require gzwrite@libz.so.1, but gzwrite
|
|
has no version assigned in libz.
|
|
XXX@libz.so.1 does not hurt illumos ld.so.1, but we are going
|
|
to use GNU ld where possible in any way (XXX patch dh-illumos?)
|
|
|
|
Index: bootadm/usr/src/cmd/boot/bootadm/Makefile
|
|
===================================================================
|
|
--- bootadm.orig/usr/src/cmd/boot/bootadm/Makefile 2013-01-02 03:45:22.556562126 +0400
|
|
+++ bootadm/usr/src/cmd/boot/bootadm/Makefile 2013-01-02 03:48:27.690051012 +0400
|
|
@@ -51,6 +51,11 @@
|
|
LINTFLAGS += -erroff=E_INCONS_VAL_TYPE_DECL2
|
|
LINTFLAGS += -erroff=E_NAME_DEF_NOT_USED2
|
|
|
|
+BDIRECT =
|
|
+MAPFILE.NES =
|
|
+MAPFILE.NED =
|
|
+MAPFILE.PGA =
|
|
+
|
|
all: $(PROG)
|
|
|
|
$(PROG): $(OBJS) bootadm.h
|