summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Mills <gary_mills@fastmail.fm>2015-04-25 14:44:01 -0500
committerGordon Ross <gwr@nexenta.com>2015-04-27 20:33:04 -0400
commitee637354acf5da3e4a5853a500f444e3aec1a76e (patch)
treeff008e2438b224c1bef36f716f48f34360783b1a
parentb67dde11a73a9455d641403cbbb65ec2add41b41 (diff)
downloadillumos-joyent-ee637354acf5da3e4a5853a500f444e3aec1a76e.tar.gz
5465 CFLAGS missing from BUILD.SO in lib/Makefile.lib
Reviewed by: Andy Stormont <astormont@racktopsystems.com> Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Gordon Ross <gwr@nexenta.com>
-rw-r--r--usr/src/lib/Makefile.lib7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/lib/Makefile.lib b/usr/src/lib/Makefile.lib
index 78ef2cd4b5..5574164fb5 100644
--- a/usr/src/lib/Makefile.lib
+++ b/usr/src/lib/Makefile.lib
@@ -18,6 +18,7 @@
#
# CDDL HEADER END
#
+# Copyright 2015 Gary Mills
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
#
#
@@ -155,8 +156,10 @@ SRCS= $(OBJECTS:%.o=$(SRCDIR)/%.c)
# default build of an archive and a shared object,
# overridden locally when extra processing is needed
BUILD.AR= $(AR) $(ARFLAGS) $@ $(AROBJS)
-BUILD.SO= $(CC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
-BUILDCCC.SO= $(CCC) -o $@ $(GSHARED) $(DYNFLAGS) $(PICS) $(EXTPICS) $(LDLIBS)
+BUILD.SO= $(CC) $(CFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
+ $(PICS) $(EXTPICS) $(LDLIBS)
+BUILDCCC.SO= $(CCC) $(CCFLAGS) -o $@ $(GSHARED) $(DYNFLAGS) \
+ $(PICS) $(EXTPICS) $(LDLIBS)
# default dynamic library symlink
INS.liblink= -$(RM) $@; $(SYMLINK) $(LIBLINKPATH)$(LIBLINKS)$(VERS) $@