|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
|
#
|
|
|
|
|
# Filename: package/.../gcc/no-fixincludes.patch
|
|
|
|
|
# Copyright (C) 2010 The OpenSDE Project
|
|
|
|
|
# Copyright (C) 2010 - 2011 The OpenSDE Project
|
|
|
|
|
#
|
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
|
#
|
|
|
|
@ -19,14 +19,16 @@
|
|
|
|
|
# Since GCC is cross-compiled expecting the system headers to be in
|
|
|
|
|
# /usr/include, the script will be looking at the host system's headers.
|
|
|
|
|
|
|
|
|
|
--- gcc-4.4.3/gcc/Makefile.in.orig 2010-03-22 12:15:16.545004067 +0100
|
|
|
|
|
+++ gcc-4.4.3/gcc/Makefile.in 2010-03-24 10:41:00.857074903 +0100
|
|
|
|
|
@@ -3701,7 +3701,7 @@
|
|
|
|
|
SHELL='$(SHELL)'; MACRO_LIST=`${PWD_COMMAND}`/macro_list ; \
|
|
|
|
|
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
|
|
|
|
|
index 60dcee5..e5cff9c 100644
|
|
|
|
|
--- a/gcc/Makefile.in
|
|
|
|
|
+++ b/gcc/Makefile.in
|
|
|
|
|
@@ -4168,7 +4168,7 @@ stmp-fixinc: gsyslimits.h macro_list fixinc_list \
|
|
|
|
|
gcc_dir=`${PWD_COMMAND}` ; \
|
|
|
|
|
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
|
|
|
|
|
cd $(build_objdir)/fixincludes && \
|
|
|
|
|
- $(SHELL) ./fixinc.sh ../../gcc/$${fix_dir} \
|
|
|
|
|
+ $(SHELL) -c true ../../gcc/$${fix_dir} \
|
|
|
|
|
- $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
|
|
|
|
|
+ $(SHELL) -c true "$${gcc_dir}/$${fix_dir}" \
|
|
|
|
|
$(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
|
|
|
|
|
rm -f $${fix_dir}/syslimits.h; \
|
|
|
|
|
if [ -f $${fix_dir}/limits.h ]; then \
|
|
|
|
|