diff options
| author | John Levon <john.levon@joyent.com> | 2020-02-19 18:56:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-19 18:56:25 +0000 |
| commit | dd712f24b7ebd3fb87031dcc089f9198928b2338 (patch) | |
| tree | 630136ddb899e73f11b49294295eec6cccb15c80 /usr/src/tools/cw | |
| parent | 77d478ddacb21ab351a7726510b1d81236125173 (diff) | |
| download | illumos-joyent-dd712f24b7ebd3fb87031dcc089f9198928b2338.tar.gz | |
OS-8113 enable ld guidance (#262)
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Approved by: Jerry Jelinek <jerry.jelinek@joyent.com>
Diffstat (limited to 'usr/src/tools/cw')
| -rw-r--r-- | usr/src/tools/cw/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/src/tools/cw/Makefile b/usr/src/tools/cw/Makefile index cc2e65eab0..af5dab8c6e 100644 --- a/usr/src/tools/cw/Makefile +++ b/usr/src/tools/cw/Makefile @@ -22,7 +22,7 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# Copyright 2018 Joyent, Inc. +# Copyright 2020 Joyent, Inc. PROG = cw @@ -47,8 +47,7 @@ $(__SUNC)CFLAGS= -xspace -Xa -xildoff -errtags=yes -errwarn=%all \ $(__GNUC)LDLIBS += -Wl,-zassert-deflib=libc.so -lc $(__GNUC)LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%) $(__GNUC)ZASSERTDEFLIB = -Wl,-zassert-deflib -# XXX disable to fix the build -# $(__GNUC)ZFATALWARNINGS = -Wl,-zfatal-warnings +$(__GNUC)ZFATALWARNINGS = -Wl,-zfatal-warnings $(__GNUC)ZGUIDANCE = -Wl,-zguidance LDFLAGS += -Wl,$(ZDIRECT) |
