diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2010-09-25 10:16:26 +0800 |
---|---|---|
committer | Saul Wold <Saul.Wold@intel.com> | 2010-09-27 08:59:15 -0700 |
commit | ce456306dad3fdf42494830011dacae213c48edf (patch) | |
tree | 0dfca13c02aa1880a5353b21676cc48bd65834b9 /meta/recipes-devtools/gcc/gcc-4.5.0.inc | |
parent | b3ef7f59e2c7e7ea232b4a22bfaf423cd747c2a7 (diff) | |
download | poky-ce456306dad3fdf42494830011dacae213c48edf.tar.gz |
gcc: enable poison parameters detection
If not configured with --enable-target-optspace, gcc will report
errors if there is '-Os' optimization in parameters.
This fixes [BUGID #342]
Also add "--enable-target-optspace" option to arm gcc configuration.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.5.0.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.5.0.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.5.0.inc b/meta/recipes-devtools/gcc/gcc-4.5.0.inc index 6da8ddaa53..2b5c82975a 100644 --- a/meta/recipes-devtools/gcc/gcc-4.5.0.inc +++ b/meta/recipes-devtools/gcc/gcc-4.5.0.inc | |||
@@ -48,6 +48,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ | |||
48 | file://64bithack.patch \ | 48 | file://64bithack.patch \ |
49 | file://optional_libstdc.patch \ | 49 | file://optional_libstdc.patch \ |
50 | file://disable_relax_pic_calls_flag.patch \ | 50 | file://disable_relax_pic_calls_flag.patch \ |
51 | file://gcc-poison-parameters.patch \ | ||
51 | " | 52 | " |
52 | 53 | ||
53 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " | 54 | SRC_URI_append_sh3 = " file://sh3-installfix-fixheaders.patch;patch=1 " |