From ee637354acf5da3e4a5853a500f444e3aec1a76e Mon Sep 17 00:00:00 2001 From: Gary Mills Date: Sat, 25 Apr 2015 14:44:01 -0500 Subject: [PATCH] 5465 CFLAGS missing from BUILD.SO in lib/Makefile.lib Reviewed by: Andy Stormont Reviewed by: Igor Kozhukhov Reviewed by: Garrett D'Amore Approved by: Gordon Ross --- usr/src/lib/Makefile.lib | 7 +++++-- 1 file 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) $@ -- 2.11.4.GIT