diff options
author | Khem Raj <raj.khem@gmail.com> | 2012-06-28 12:19:53 -0700 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-07-09 18:40:21 +0200 |
commit | 6b278fbb02d818b54b5a9fa2716fc49e896b72a8 (patch) | |
tree | 833783fb738ff7abf3d0e3029c9a468e73b06e28 /toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch | |
parent | 680af24d1ff95533db610176e6b01fcc9dcf6699 (diff) | |
download | meta-openembedded-6b278fbb02d818b54b5a9fa2716fc49e896b72a8.tar.gz |
gcc-4.6: Migrate recipes from OE-Core
Remove linaro patches. If one needs to use linaro
modified gcc they should use meta-linaro
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch')
-rw-r--r-- | toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch new file mode 100644 index 0000000000..6192c4820f --- /dev/null +++ b/toolchain-layer/recipes-devtools/gcc/gcc-4.6/zecke-xgcc-cpp.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | upstream: n/a | ||
4 | comment: Use the preprocessor we have just compiled instead the one of | ||
5 | the system. There might be incompabilities between us and them. | ||
6 | |||
7 | Index: gcc-4.6.0/Makefile.in | ||
8 | =================================================================== | ||
9 | --- gcc-4.6.0.orig/Makefile.in | ||
10 | +++ gcc-4.6.0/Makefile.in | ||
11 | @@ -270,6 +270,7 @@ BASE_TARGET_EXPORTS = \ | ||
12 | AR="$(AR_FOR_TARGET)"; export AR; \ | ||
13 | AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ | ||
14 | CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ | ||
15 | + CPP="$(CC_FOR_TARGET) -E"; export CPP; \ | ||
16 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | ||
17 | CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ | ||
18 | CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | ||
19 | Index: gcc-4.6.0/Makefile.tpl | ||
20 | =================================================================== | ||
21 | --- gcc-4.6.0.orig/Makefile.tpl | ||
22 | +++ gcc-4.6.0/Makefile.tpl | ||
23 | @@ -273,6 +273,7 @@ BASE_TARGET_EXPORTS = \ | ||
24 | AR="$(AR_FOR_TARGET)"; export AR; \ | ||
25 | AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \ | ||
26 | CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \ | ||
27 | + CPP="$(CC_FOR_TARGET) -E"; export CPP; \ | ||
28 | CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \ | ||
29 | CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \ | ||
30 | CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \ | ||