openbsd.h (LINK_SPEC): pass correct flags to ld to support -shared, on platforms with dynamic libraries.

* config/openbsd.h (LINK_SPEC): pass correct flags to ld
        to support -shared, on platforms with dynamic libraries.

From-SVN: r33711
This commit is contained in:
Marc Espie 2000-05-05 16:30:23 +00:00 committed by Jeff Law
parent be3dad6f75
commit 6a0177c5b9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
* config/openbsd.h (LINK_SPEC): pass correct flags to ld
to support -shared, on platforms with dynamic libraries.
Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
* system.h (S_ISBLK): Provide fallback definition.

View File

@ -119,7 +119,7 @@ Boston, MA 02111-1307, USA. */
"%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{assert*}"
#else
#define LINK_SPEC \
"%{!nostdlib:%{!r*:%{!e*:-e start}}} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
"%{!shared:%{!nostdlib:%{!r*:%{!e*:-e start}}}} %{shared:-Bshareable -x} -dc -dp %{R*} %{static:-Bstatic} %{assert*}"
#endif
#undef LIB_SPEC