diff options
author | dfr <dfr@FreeBSD.org> | 1997-05-23 17:50:35 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1997-05-23 17:50:35 +0000 |
commit | 9e9ba7449d9f34d957d9d676bb24b717aa9e313d (patch) | |
tree | e91c63229b3271f641230d12a93f23c11c83d28a /share | |
parent | 2fc66c2d94f99e157344d3a48c19192a99de5c43 (diff) | |
download | FreeBSD-src-9e9ba7449d9f34d957d9d676bb24b717aa9e313d.zip FreeBSD-src-9e9ba7449d9f34d957d9d676bb24b717aa9e313d.tar.gz |
Add "-assert pure-text" to the link line. The warnings about RRS
relocations in text sections are now dependant on this flag.
Diffstat (limited to 'share')
-rw-r--r-- | share/mk/bsd.lib.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/mk/bsd.lib.mk b/share/mk/bsd.lib.mk index 7b41dd3..c386124 100644 --- a/share/mk/bsd.lib.mk +++ b/share/mk/bsd.lib.mk @@ -1,5 +1,5 @@ # from: @(#)bsd.lib.mk 5.26 (Berkeley) 5/2/91 -# $Id: bsd.lib.mk,v 1.55 1997/05/04 21:30:40 jdp Exp $ +# $Id: bsd.lib.mk,v 1.56 1997/05/23 08:38:46 asami Exp $ # .if exists(${.CURDIR}/../Makefile.inc) @@ -153,7 +153,7 @@ SOBJS+= ${OBJS:.o=.so} lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR}: ${SOBJS} @${ECHO} building shared ${LIB} library \(version ${SHLIB_MAJOR}.${SHLIB_MINOR}\) @rm -f lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} - @${LDDESTDIRENV} ${CC} -shared -Wl,-x \ + @${LDDESTDIRENV} ${CC} -shared -Wl,-x -Wl,-assert -Wl,pure-text \ -o lib${LIB}.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \ `lorder ${SOBJS} | tsort -q` ${LDDESTDIR} ${LDADD} |