Patchwork [gccgo] Remove vestiges of elfcpp from build system

login
register
mail settings
Submitter Ian Taylor
Date Nov. 2, 2010, 11:11 p.m.
Message ID <mcrpqunqq1d.fsf@google.com>
Download mbox | patch
Permalink /patch/69932/
State New
Headers show

Comments

Ian Taylor - Nov. 2, 2010, 11:11 p.m.
The patch removes the last vestiges of elfcpp from the gccgo build
system.  Committed to gccgo branch.

Ian

Patch

diff -r 84100d79331c go/Make-lang.in
--- a/go/Make-lang.in	Tue Nov 02 15:57:53 2010 -0700
+++ b/go/Make-lang.in	Tue Nov 02 16:09:24 2010 -0700
@@ -13,7 +13,7 @@ 
 
 ALL_CXXFLAGS = $(filter-out -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wc++-compat, $(ALL_COMPILERFLAGS)) $(CXXFLAGS)
 .cc.o:
-	$(CXX) -c -I $(srcdir)/../elfcpp $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $< $(OUTPUT_OPTION)
+	$(CXX) -c $(ALL_CPPFLAGS) $(ALL_CXXFLAGS) $< $(OUTPUT_OPTION)
 
 # Build Go export info generator.
 INTERNAL_CFLAGS += -DGO_DEBUGGING_INFO
@@ -137,9 +137,6 @@ 
 GO_EXPRESSIONS_H = go/expressions.h go/operator.h
 GO_IMPORT_H = go/import.h go/export.h
 
-ELFCPP_H = $(srcdir)/../elfcpp/elfcpp.h $(srcdir)/../elfcpp/elfcpp_swap.h \
-	$(srcdir)/../elfcpp/elfcpp_internal.h
-
 go/dataflow.o: go/dataflow.cc $(GO_SYSTEM_H) $(GO_GOGO_H) $(GO_EXPRESSIONS_H) \
 	$(GO_STATEMENTS_H) go/dataflow.h
 go/export.o: go/export.cc $(GO_SYSTEM_H) $(srcdir)/../include/sha1.h \