mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 03:04:27 +08:00
re PR libfortran/40549 (Building libgfortran as a DLL)
PR libfortran/40549 * Makefile.in (LTLDFLAGS): Add -no-undefined. * Makefile.am: Regenerate. * libgfortran.h: Remove unused block of code. From-SVN: r150590
This commit is contained in:
parent
2b374f5598
commit
0a940ddd90
@ -1,3 +1,10 @@
|
||||
2009-08-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
||||
|
||||
PR libfortran/40549
|
||||
* Makefile.in (LTLDFLAGS): Add -no-undefined.
|
||||
* Makefile.am: Regenerate.
|
||||
* libgfortran.h: Remove unused block of code.
|
||||
|
||||
2009-08-02 Jerry DeLisle <jvdelisle@gcc.gnu.org>
|
||||
|
||||
PR libfortran/40853
|
||||
|
@ -13,7 +13,8 @@ else
|
||||
version_arg =
|
||||
endif
|
||||
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
|
||||
-no-undefined
|
||||
|
||||
toolexeclib_LTLIBRARIES = libgfortran.la
|
||||
libgfortran_la_LINK = $(LINK)
|
||||
|
@ -957,7 +957,9 @@ ACLOCAL_AMFLAGS = -I .. -I ../config
|
||||
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
|
||||
@LIBGFOR_USE_SYMVER_FALSE@version_arg =
|
||||
@LIBGFOR_USE_SYMVER_TRUE@version_arg = -Wl,--version-script=$(srcdir)/gfortran.map
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
|
||||
LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS)) \
|
||||
-no-undefined
|
||||
|
||||
toolexeclib_LTLIBRARIES = libgfortran.la
|
||||
libgfortran_la_LINK = $(LINK)
|
||||
libgfortran_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) -lm $(extra_ldflags_libgfortran) $(version_arg)
|
||||
|
@ -177,13 +177,6 @@ extern int __mingw_snprintf (char *, size_t, const char *, ...)
|
||||
# define iexport1(x,y) iexport2(x,y)
|
||||
# define iexport2(x,y) \
|
||||
extern __typeof(x) PREFIX(x) __attribute__((__alias__(#y)))
|
||||
/* ??? We're not currently building a dll, and it's wrong to add dllexport
|
||||
to objects going into a static library archive. */
|
||||
#elif 0 && defined(HAVE_ATTRIBUTE_DLLEXPORT)
|
||||
# define export_proto_np(x) extern __typeof(x) x __attribute__((dllexport))
|
||||
# define export_proto(x) sym_rename(x, PREFIX(x)) __attribute__((dllexport))
|
||||
# define iexport_proto(x) export_proto(x)
|
||||
# define iexport(x) extern char swallow_semicolon
|
||||
#else
|
||||
# define export_proto(x) sym_rename(x, PREFIX(x))
|
||||
# define export_proto_np(x) extern char swallow_semicolon
|
||||
|
Loading…
Reference in New Issue
Block a user