This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Build system cleanups 1/4


This one removes the PICFLAG variables, which are never set, as well as the makefile fragments that used to set PICFLAG *at the time of Cygnus configure*.

Committed to gcc and (shortly) to src.

Paolo
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.tpl (PICFLAG, PICFLAG_FOR_TARGET): Remove.
	* Makefile.in: Regenerate.

config:
2008-03-27  Paolo Bonzini  <bonzini@gnu.org>

	* mh-armpic: Remove.
	* mh-i370pic: Remove.
	* mh-m68kpic: Remove.
	* mh-ppcpic: Remove.
	* mh-sparcpic: Remove.
	* mh-ia64pic: Remove.
	* mh-papic: Remove.
	* mh-s390pic: Remove.
	* mh-x86pic: Remove.

Index: Makefile.in
===================================================================
--- Makefile.in	(revision 133115)
+++ Makefile.in	(working copy)
@@ -319,7 +319,6 @@ LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
-PICFLAG = 
 
 # Only build the C compiler for stage1, because that is the only one that
 # we can guarantee will build with the native compiler, and also it is the
@@ -335,7 +334,7 @@ STAGE2_CFLAGS=$(BOOT_CFLAGS)
 STAGE3_CFLAGS=$(BOOT_CFLAGS)
 STAGE4_CFLAGS=$(BOOT_CFLAGS)
 
-STAGE1_LIBCFLAGS=@stage1_cflags@
+STAGE1_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
 STAGE2_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
 STAGE3_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
 STAGE4_LIBCFLAGS=$(CFLAGS_FOR_TARGET)
@@ -386,7 +385,6 @@ DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = 
-PICFLAG_FOR_TARGET = 
 
 # ------------------------------------
 # Miscellaneous targets and flag lists
Index: Makefile.tpl
===================================================================
--- Makefile.tpl	(revision 133115)
+++ Makefile.tpl	(working copy)
@@ -322,7 +322,6 @@ LDFLAGS = @LDFLAGS@
 LIBCFLAGS = $(CFLAGS)
 CXXFLAGS = @CXXFLAGS@
 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
-PICFLAG = 
 
 # Only build the C compiler for stage1, because that is the only one that
 # we can guarantee will build with the native compiler, and also it is the
@@ -389,7 +388,6 @@ DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_
 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
 LDFLAGS_FOR_TARGET = 
-PICFLAG_FOR_TARGET = 
 
 # ------------------------------------
 # Miscellaneous targets and flag lists
Index: config/mh-ppcpic
===================================================================
--- config/mh-ppcpic	(revision 133115)
+++ config/mh-ppcpic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fPIC
Index: config/mh-i370pic
===================================================================
--- config/mh-i370pic	(revision 133115)
+++ config/mh-i370pic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fPIC
Index: config/mh-s390pic
===================================================================
--- config/mh-s390pic	(revision 133115)
+++ config/mh-s390pic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fpic
Index: config/mh-papic
===================================================================
--- config/mh-papic	(revision 133115)
+++ config/mh-papic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fPIC
Index: config/mh-sparcpic
===================================================================
--- config/mh-sparcpic	(revision 133115)
+++ config/mh-sparcpic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`
Index: config/mh-elfalphapic
===================================================================
--- config/mh-elfalphapic	(revision 133115)
+++ config/mh-elfalphapic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fPIC
Index: config/mh-x86pic
===================================================================
--- config/mh-x86pic	(revision 133115)
+++ config/mh-x86pic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fpic
Index: config/mh-m68kpic
===================================================================
--- config/mh-m68kpic	(revision 133115)
+++ config/mh-m68kpic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fpic
Index: config/mh-armpic
===================================================================
--- config/mh-armpic	(revision 133115)
+++ config/mh-armpic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fPIC
Index: config/mh-ia64pic
===================================================================
--- config/mh-ia64pic	(revision 133115)
+++ config/mh-ia64pic	(working copy)
@@ -1 +0,0 @@
-PICFLAG=-fpic

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]