diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-26 09:30:29 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-10-26 09:30:29 +0000 |
commit | 00d389c8010055eab6670c189c43024d1fb1824d (patch) | |
tree | cb359c0379cd06029ee75ba612f48fea9252bcc3 /gcc/Makefile.in | |
parent | e1f53ecdc82e256102b6c456e0042c1d7afb546b (diff) | |
download | gcc-00d389c8010055eab6670c189c43024d1fb1824d.tar.gz |
2011-10-26 Richard Guenther <rguenther@suse.de>
PR lto/41844
* Makefile.in (lto-wrapper): Depend on and link against
opts-common.o.
(lto-wrapper.o): Depend on $(OPTS_H) and $(OPTIONS_H).
* lto-wrapper.c (get_options_from_collect_gcc_options): New function.
(run_gcc): Use it. Filter out language specific options.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r-- | gcc/Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 36089041763..ed6e31bb25e 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2069,12 +2069,13 @@ collect2-aix.o : collect2-aix.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ tlink.o: tlink.c $(DEMANGLE_H) $(HASHTAB_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \ $(OBSTACK_H) collect2.h intl.h $(DIAGNOSTIC_CORE_H) -lto-wrapper$(exeext): lto-wrapper.o $(LIBDEPS) - +$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ lto-wrapper.o $(LIBS) +lto-wrapper$(exeext): lto-wrapper.o ggc-none.o libcommon-target.a $(LIBDEPS) + +$(LINKER) $(ALL_COMPILERFLAGS) $(LDFLAGS) -o T$@ \ + lto-wrapper.o ggc-none.o libcommon-target.a $(LIBS) mv -f T$@ $@ lto-wrapper.o: lto-wrapper.c $(CONFIG_H) $(SYSTEM_H) coretypes.h intl.h \ - $(OBSTACK_H) $(DIAGNOSTIC_H) + $(OBSTACK_H) $(DIAGNOSTIC_H) $(OPTS_H) $(OPTIONS_H) # Files used by all variants of C. c-family/c-common.o : c-family/c-common.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ |