diff options
Diffstat (limited to 'usr/src/tools/cw/Makefile')
| -rw-r--r-- | usr/src/tools/cw/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/tools/cw/Makefile b/usr/src/tools/cw/Makefile index 00099cb2e5..0d0908a6a5 100644 --- a/usr/src/tools/cw/Makefile +++ b/usr/src/tools/cw/Makefile @@ -44,9 +44,12 @@ $(__GNUC)CFLAGS= -O -D__sun -Wall -Wno-unknown-pragmas -Werror \ $(__SUNC)CFLAGS= -xspace -Xa -xildoff -errtags=yes -errwarn=%all \ -xc99=%all -W0,-xglobalstatic -v - -$(__GNUC)LDLIBS += -lc +$(__GNUC)LDLIBS += -Wl,-zassert-deflib=libc.so -lc $(__GNUC)LDFLAGS= $(MAPFILE.NES:%=-Wl,-M%) +$(__GNUC)ZASSERTDEFLIB = -Wl,-zassert-deflib +$(__GNUC)ZFATALWARNINGS = -Wl,-zfatal-warnings +$(__GNUC)ZGUIDANCE = -Wl,-zguidance +LDFLAGS += -Wl,$(ZDIRECT) $(ROOTONBLDMAN1ONBLDFILES) := FILEMODE= 644 CSTD= $(CSTD_GNU99) |
