Skip to content
Snippets Groups Projects
  • Eric Botcazou's avatar
    0b21f5d3
    re PR bootstrap/54820 (ada: cannot find -lstdc++ since 4.8.0 20121002) · 0b21f5d3
    Eric Botcazou authored
    	PR bootstrap/54820
    	* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable.
    	(all-[+prefix+][+module+]): Pass stage1_args to sub-makes.
    	(all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
    	(clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
    	(host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS.
    	* Makefile.in: Regenerate.
    	* configure.ac (have_static_libs): New variable and associated check.
    	(stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++
    	-static-libgcc if stage1_libs is empty and have_static_libs is yes.
    	* configure: Regenerate.
    ada/
    	* gcc-interface/Make-lang.in (GCC_LINK): Remove hardcoded options.
    
    From-SVN: r192666
    0b21f5d3
    History
    re PR bootstrap/54820 (ada: cannot find -lstdc++ since 4.8.0 20121002)
    Eric Botcazou authored
    	PR bootstrap/54820
    	* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable.
    	(all-[+prefix+][+module+]): Pass stage1_args to sub-makes.
    	(all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
    	(clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
    	(host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS.
    	* Makefile.in: Regenerate.
    	* configure.ac (have_static_libs): New variable and associated check.
    	(stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++
    	-static-libgcc if stage1_libs is empty and have_static_libs is yes.
    	* configure: Regenerate.
    ada/
    	* gcc-interface/Make-lang.in (GCC_LINK): Remove hardcoded options.
    
    From-SVN: r192666