Print this page
8411 Build should warn when linking against libraries outside proto area
*** 19,28 ****
--- 19,29 ----
# CDDL HEADER END
#
# Copyright 2015 Gary Mills
# Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
# Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
+ # Copyright 2017 RackTop Systems.
#
#
# Definitions common to libraries.
#
# include global definitions; SRC should be defined in the shell.
*** 135,145 ****
# combining relocations into one relocation table reduces startup costs.
# All options are tunable to allow overload/omission from lower makefiles.
HSONAME= -h$(SONAME)
! DYNFLAGS= $(HSONAME) $(ZTEXT) $(ZDEFS) $(BDIRECT) \
$(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
LDLIBS= $(LDLIBS.lib)
OBJS= $(OBJECTS:%=objs/%)
--- 136,146 ----
# combining relocations into one relocation table reduces startup costs.
# All options are tunable to allow overload/omission from lower makefiles.
HSONAME= -h$(SONAME)
! DYNFLAGS= $(HSONAME) $(ZTEXT) $(ZDEFS) $(ZASSERTDEFLIB) $(BDIRECT) \
$(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
LDLIBS= $(LDLIBS.lib)
OBJS= $(OBJECTS:%=objs/%)
*** 211,221 ****
SONAMECCC= $(DYNLIBCCC)
HSONAMECCC= -h $(SONAMECCC)
#
# Keep in sync with the standard DYNFLAGS
#
! $(DYNLIBCCC):= DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) \
$(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
$(BDIRECT) $(NORUNPATH)
# build rule for "portable" source
--- 212,222 ----
SONAMECCC= $(DYNLIBCCC)
HSONAMECCC= -h $(SONAMECCC)
#
# Keep in sync with the standard DYNFLAGS
#
! $(DYNLIBCCC):= DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) $(ZASSERTDEFLIB) \
$(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
$(BDIRECT) $(NORUNPATH)
# build rule for "portable" source