This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Fix STAGE_PREFIX in Makefile.in
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Nov 01 07:02:26 EST
- Subject: Fix STAGE_PREFIX in Makefile.in
Wed Nov 28 06:52:27 2001 Arnaud Charlet <charlet@ACT-Europe.FR>
* Makefile.in (ORDINARY_FLAGS_TO_PASS): Remove STAGE_PREFIX.
(FLAGS_TO_PASS): Add STAGE_PREFIX.
(SUBDIR_FLAGS_TO_PASS): Apply PREPEND_DOTDOT_TO_RELATIVE_PATH
to STAGE_PREFIX.
*** Makefile.in.old Wed Nov 28 12:07:55 2001
--- Makefile.in Wed Nov 28 12:07:57 2001
***************
*** 689,695 ****
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
"RANLIB_TEST_FOR_TARGET=$(RANLIB_TEST_FOR_TARGET)" \
"SHELL=$(SHELL)" \
- "STAGE_PREFIX=@stage_prefix_set_by_configure@" \
"exeext=$(exeext)" \
"build_exeext=$(build_exeext)" \
"objext=$(objext)" \
--- 689,694 ----
***************
*** 703,709 ****
"libsubdir=$(libsubdir)" \
"datadir=$(datadir)" \
"localedir=$(localedir)"
! FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) "CC=@cc_set_by_configure@"
PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \
-e 's|^ *[^ /][^ /]*/|%&|' \
-e 's| -B| -B%|g' \
--- 702,709 ----
"libsubdir=$(libsubdir)" \
"datadir=$(datadir)" \
"localedir=$(localedir)"
! FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) "CC=@cc_set_by_configure@" \
! "STAGE_PREFIX=@stage_prefix_set_by_configure@"
PREPEND_DOTDOT_TO_RELATIVE_PATHS = sed \
-e 's|^ *[^ /][^ /]*/|%&|' \
-e 's| -B| -B%|g' \
***************
*** 711,717 ****
-e 's|%% *|../|g' \
-e 's|%||g'
SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \
! "CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
#
# Lists of files for various purposes.
--- 711,718 ----
-e 's|%% *|../|g' \
-e 's|%||g'
SUBDIR_FLAGS_TO_PASS = $(ORDINARY_FLAGS_TO_PASS) \
! "CC=`echo @quoted_cc_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`" \
! "STAGE_PREFIX=`echo @stage_prefix_set_by_configure@ | $(PREPEND_DOTDOT_TO_RELATIVE_PATHS)`"
#
# Lists of files for various purposes.