Skip to content

Commit

Permalink
Fix long-standing in-tree build include-fixed bug.
Browse files Browse the repository at this point in the history
gcc/:
	PR bootstrap/35619
	* Makefile.in (stmp-fixinc): Ensure `include-fixed' is created
	in the directory this rule is called from, rather than the
	toplevel 'gcc' directory, to fix in-tree build.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151880 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
rwild committed Sep 19, 2009
1 parent c25f268 commit 97f0faf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
2009-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

PR bootstrap/35619
* Makefile.in (stmp-fixinc): Ensure `include-fixed' is created
in the directory this rule is called from, rather than the
toplevel 'gcc' directory, to fix in-tree build.

2009-09-19 Chris Demetriou <cgd@google.com>

PR preprocessor/28435:
Expand Down
3 changes: 2 additions & 1 deletion gcc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3835,9 +3835,10 @@ stmp-fixinc: gsyslimits.h macro_list fixinc_list \
chmod a+rx $${fix_dir} || true; \
(TARGET_MACHINE='$(target)'; srcdir=`cd $(srcdir); ${PWD_COMMAND}`; \
SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
gcc_dir=`${PWD_COMMAND}` ; \
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
cd $(build_objdir)/fixincludes && \
$(SHELL) ./fixinc.sh ../../gcc/$${fix_dir} \
$(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
$(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
rm -f $${fix_dir}/syslimits.h; \
if [ -f $${fix_dir}/limits.h ]; then \
Expand Down

0 comments on commit 97f0faf

Please sign in to comment.