summaryrefslogtreecommitdiff
path: root/usr/src/cmd/print/bsd-sysv-commands
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-10-24 17:43:02 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-11-17 08:52:10 -0800
commit5a0af8165ce9590e7a18f1ef4f9badc4dd72c6e6 (patch)
tree762f2de7c139aee157730b0e788d3a61462554e9 /usr/src/cmd/print/bsd-sysv-commands
parent6a817834d81cc75ce12d0d393320837b1fec1e85 (diff)
downloadillumos-joyent-5a0af8165ce9590e7a18f1ef4f9badc4dd72c6e6.tar.gz
13274 enable -fstack-protector-strong by default in user land
Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/cmd/print/bsd-sysv-commands')
-rw-r--r--usr/src/cmd/print/bsd-sysv-commands/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/src/cmd/print/bsd-sysv-commands/Makefile b/usr/src/cmd/print/bsd-sysv-commands/Makefile
index f2b8c41230..2821e90db8 100644
--- a/usr/src/cmd/print/bsd-sysv-commands/Makefile
+++ b/usr/src/cmd/print/bsd-sysv-commands/Makefile
@@ -60,7 +60,7 @@ CPPFLAGS += -I.
CPPFLAGS += -I../../../lib/print/libpapi-common/common
CPPFLAGS += -I$(ROOT)/usr/include
CPPFLAGS += -I../../lp/include
-LDLIBS += $(LIBLP) -lpapi -lc
+LDLIBS += $(LIBLP) $(LDSTACKPROTECT) -lpapi -lc
in.lpd:= CFLAGS += -DSOLARIS_PRIVATE_POST_0_9
in.lpd:= LDLIBS += -lnsl -lsocket
@@ -85,14 +85,14 @@ $(ROOTUSRUCB)/%: $(ROOTUSRUCB) %
$(ROOTLIBLPBIN)/%: %
$(INS.file)
-$(ROOTUCBSYMLINKS):
+$(ROOTUCBSYMLINKS):
$(RM) $@; $(SYMLINK) ../bin/$(@F) $@
# usr/lib links
ROOTUSRLIBSYMLINKS = $(SBINPROGS:%=$(ROOTLIB)/%)
$(ROOTLIB)/%: $(ROOTLIB) %
-$(ROOTUSRLIBSYMLINKS):
+$(ROOTUSRLIBSYMLINKS):
$(RM) $@; $(SYMLINK) ../sbin/$(@F) $@
.KEEP_STATE:
@@ -104,7 +104,7 @@ install: $(ROOTLIBLPPROGS) \
check: $(CHKMANIFEST)
clean:
- $(RM) $(OBJS)
+ $(RM) $(OBJS)
CLOBBERFILES += $(BINPROGS) $(SBINPROGS) $(LIBPRINTPROGS)