Patchwork [Ada] Remove couple of left-overs in build machinery

login
register
mail settings
Submitter Eric Botcazou
Date Jan. 10, 2013, 4:47 p.m.
Message ID <4959910.LQXTR0EFdm@polaris>
Download mbox | patch
Permalink /patch/211090/
State New
Headers show

Comments

Eric Botcazou - Jan. 10, 2013, 4:47 p.m.
This removes a couple of left-overs from the pre toplevel bootstrap era.
No functional changes.  This paves the way for a real change that we want to 
enable for the 4.8.0 release.

Tested on x86_64-suse-linux (w and w/o --disable-bootstrap), applied on the 
mainline.


2013-01-10  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc-interface/config-lang.in (boot_language_boot_flags): Delete.
	* gcc-interface/Make-lang.in (BOOT_ADAFLAGS): Likewise.

Patch

Index: gcc-interface/config-lang.in
===================================================================
--- gcc-interface/config-lang.in	(revision 195012)
+++ gcc-interface/config-lang.in	(working copy)
@@ -1,5 +1,5 @@ 
 # Top level configure fragment for GNU Ada (GNAT).
-#   Copyright (C) 1994-2008 Free Software Foundation, Inc.
+#   Copyright (C) 1994-2013 Free Software Foundation, Inc.
 
 #This file is part of GCC.
 
@@ -21,15 +21,13 @@ 
 # We define several parameters used by configure:
 #
 # language	- name of language as it would appear in $(LANGUAGES)
-# boot_language - "yes" if we need to build this language in stage1
+# gcc_subdir	- where the gcc integration files are to be found
+# boot_language	- "yes" if we need to build this language in stage1
 # compilers	- value to add to $(COMPILERS)
 
 language="ada"
 gcc_subdir="ada/gcc-interface"
-
 boot_language=yes
-boot_language_boot_flags='ADAFLAGS="$(BOOT_ADAFLAGS)"'
-
 compilers="gnat1\$(exeext)"
 
 gtfiles="\$(srcdir)/ada/gcc-interface/ada-tree.h \$(srcdir)/ada/gcc-interface/gigi.h \$(srcdir)/ada/gcc-interface/decl.c \$(srcdir)/ada/gcc-interface/trans.c \$(srcdir)/ada/gcc-interface/utils.c \$(srcdir)/ada/gcc-interface/misc.c"
Index: gcc-interface/Make-lang.in
===================================================================
--- gcc-interface/Make-lang.in	(revision 195012)
+++ gcc-interface/Make-lang.in	(working copy)
@@ -1,6 +1,6 @@ 
 # Top level -*- makefile -*- fragment for GNU Ada (GNAT).
 #   Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
-#   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+#   2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
 #   Free Software Foundation, Inc.
 
 #This file is part of GCC.
@@ -47,7 +47,6 @@  RMDIR = rm -rf
 # Extra flags to pass to recursive makes.
 COMMON_ADAFLAGS= -gnatpg -gnata
 WARN_ADAFLAGS= -W -Wall
-BOOT_ADAFLAGS= $(COMMON_ADAFLAGS)
 
 # For native builds, the base compiler might be old and we need to arrange for
 # style warnings not to be flagged as errors during stage1.  Cross compilers