This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
TARGET_SYSTEM_ROOT not defined for c-opts.c
- From: <gp at qnx dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Cc: <gcc at gcc dot gnu dot org>
- Date: Fri, 11 Apr 2003 21:06:35 -0000
- Subject: TARGET_SYSTEM_ROOT not defined for c-opts.c
Hi, all.
TARGET_SYSTEM_ROOT is not being defined for gcc/c-opts.c in the Makefile, and
so it is always null. Is the following the right place to fix this?
Thanks.
GP
*** gcc/gcc/Makefile.in Fri Apr 11 14:26:11 2003
--- gcc.new/gcc/Makefile.in Fri Apr 11 17:07:55 2003
*************** CPPLIB_H = cpplib.h line-map.h
*** 665,671 ****
# IN_GCC distinguishes between code compiled into GCC itself and other
# programs built during a bootstrap.
# autoconf inserts -DCROSS_COMPILE if we are building a cross compiler.
! INTERNAL_CFLAGS = -DIN_GCC @CROSS@
# This is the variable actually used when we compile.
# If you change this line, you probably also need to change the definition
--- 665,671 ----
# IN_GCC distinguishes between code compiled into GCC itself and other
# programs built during a bootstrap.
# autoconf inserts -DCROSS_COMPILE if we are building a cross compiler.
! INTERNAL_CFLAGS = -DIN_GCC @CROSS@ @TARGET_SYSTEM_ROOT_DEFINE@
# This is the variable actually used when we compile.
# If you change this line, you probably also need to change the definition