Allow adding to SOLINKOPTS.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
bdrewery 2016-03-04 22:37:00 +00:00
parent a7b9397999
commit f8690afd6d

View File

@ -199,7 +199,7 @@ CLEANFILES+= ${SOBJS}
.if defined(SHLIB_NAME)
_LIBS+= ${SHLIB_NAME}
SOLINKOPTS= -shared -Wl,-x
SOLINKOPTS+= -shared -Wl,-x
.if !defined(ALLOW_SHARED_TEXTREL)
.if defined(LD_FATAL_WARNINGS) && ${LD_FATAL_WARNINGS} == "no"
SOLINKOPTS+= -Wl,--no-fatal-warnings