[lto][patch] Move common.c and common.h from lto-plugin/ to gcc/lto/
Ralf Wildenhues
Ralf.Wildenhues@gmx.de
Tue Sep 23 21:47:00 GMT 2008
Hello Rafael,
* Rafael Espindola wrote on Tue, Sep 23, 2008 at 04:13:04PM CEST:
> --- a/lto-plugin/Makefile.in
> +++ b/lto-plugin/Makefile.in
> @@ -199,12 +199,12 @@ sysconfdir = @sysconfdir@
> target_alias = @target_alias@
> AM_CPPFLAGS = -I$(top_srcdir)/../include
> AM_CFLAGS = -Wall -Werror
> -ltosymtab_SOURCES = lto-symtab.c common.c
> +ltosymtab_SOURCES = lto-symtab.c $(top_srcdir)/../gcc/lto/common.c
> ltosymtab_LDADD = -ldl -lelf
> #hack to use common.c in both targets
> ltosymtab_CFLAGS = $(AM_CFLAGS)
> lib_LTLIBRARIES = liblto_plugin.la
> -liblto_plugin_la_SOURCES = lto-plugin.c common.c
> +liblto_plugin_la_SOURCES = lto-plugin.c $(top_srcdir)/../gcc/lto/common.c
Is there a specific reason you are using '$(top_srcdir)/' here?
You are not writing $(srcdir)/lto-plugin.c either.
(maybe a bug I'm not aware of?)
Thanks,
Ralf
More information about the Gcc-patches
mailing list