blob: b1b851cbc9e73ed6f4491a7bf5f5029074e27601 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
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
|