Makefile.in (SHOPT): New macro, flag to ld to create shared library.
* Makefile.in (SHOPT): New macro, flag to ld to create shared library. Defaults to "-shared". (SHLIB): Use new SHOPT rather than hardcoded "-shared". * configure.in: While configuring for *-*-beos*, if --enable-shared is given, add beos.ml to list of makefile frags. * config/beos.ml: New file. From-SVN: r31373
This commit is contained in:
parent
c135ea3910
commit
0753683c0a
@ -1,3 +1,13 @@
|
||||
2000-01-12 Fred Fish <fnf@be.com>
|
||||
|
||||
* Makefile.in (SHOPT): New macro, flag to ld to create
|
||||
shared library. Defaults to "-shared".
|
||||
(SHLIB): Use new SHOPT rather than hardcoded "-shared".
|
||||
* configure.in: While configuring for *-*-beos*, if
|
||||
--enable-shared is given, add beos.ml to list of makefile
|
||||
frags.
|
||||
* config/beos.ml: New file.
|
||||
|
||||
1999-12-15 Jason Merrill <jason@casey.cygnus.com>
|
||||
|
||||
* Makefile.in (MYCXXFLAGS): Include $(CXXFLAGS).
|
||||
|
@ -39,6 +39,7 @@ SHLINK = libstdc++.so
|
||||
MSHLINK = libstdc++.so.`echo $(VERSION) | sed 's/\([0-9]*[.][0-9]*\).*/\1/'`
|
||||
SHFLAGS =
|
||||
SHDEPS =
|
||||
SHOPT = -shared
|
||||
|
||||
STAMP = bigstmp
|
||||
|
||||
@ -102,7 +103,7 @@ marlink:
|
||||
@$(MAKE) $(MARLINK) "ARLINK=$(MARLINK)"
|
||||
|
||||
$(SHLIB): piclist
|
||||
$(CC) $(LIBCXXFLAGS) $(SHFLAGS) -shared -o $(SHLIB) `cat piclist` $(SHDEPS)
|
||||
$(CC) $(LIBCXXFLAGS) $(SHFLAGS) $(SHOPT) -o $(SHLIB) `cat piclist` $(SHDEPS)
|
||||
|
||||
$(SHARLIB): $(SHLIB)
|
||||
-rm -f t$(SHARLIB)
|
||||
|
4
libstdc++/config/beos.ml
Normal file
4
libstdc++/config/beos.ml
Normal file
@ -0,0 +1,4 @@
|
||||
LIBS = $(ARLIB) $(ARLINK) $(SHLIB) mshlink $(SHLINK)
|
||||
SHFLAGS = -Wl,-soname,$(MSHLINK)
|
||||
DEPLIBS = ../$(SHLIB)
|
||||
SHOPT = -nostart
|
@ -68,6 +68,7 @@ if [ "${shared}" = "yes" ]; then
|
||||
esac
|
||||
case "${target}" in
|
||||
*-*-aix*) frags="${frags} aix.ml" ;;
|
||||
*-*-beos*) frags="${frags} beos.ml" ;;
|
||||
*-dec-osf*) frags="${frags} dec-osf.ml";;
|
||||
*-*-freebsd2*) ;;
|
||||
*-*-freebsd*) frags="${frags} freebsd.ml" ;;
|
||||
|
Loading…
Reference in New Issue
Block a user