changeset 2852:0afe83b6e867

+ * cdl/jffs2.cdl: Add include-fixed to the system include files we + should search. Without this gcc 4.3 breaks.
author asl
date Fri, 20 Mar 2009 20:30:26 +0000
parents 1e88b56417ea
children efffa5681c62
files packages/fs/jffs2/current/ChangeLog packages/fs/jffs2/current/cdl/jffs2.cdl
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/fs/jffs2/current/ChangeLog
+++ b/packages/fs/jffs2/current/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-22  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* cdl/jffs2.cdl: Add include-fixed to the system include files we
+	should search. Without this gcc 4.3 breaks.
+
 2008-11-18  Jonathan Larmour  <jifl@eCosCentric.com>
 
 	* tests/jffs2_1.c, tests/jffs2_2.c, tests/jffs2_3.c: 
--- a/packages/fs/jffs2/current/cdl/jffs2.cdl
+++ b/packages/fs/jffs2/current/cdl/jffs2.cdl
@@ -233,7 +233,7 @@ cdl_package CYGPKG_FS_JFFS2 {
 	# We add '-nostdinc -iwithprefix include' to avoid picking up
 	#    native <linux/*.h> include files when building on Linux.
 	default_value { "-D__ECOS " . \
-            (CYGPKG_HAL_SYNTH ? " -nostdinc -iwithprefix include" : "") }
+            (CYGPKG_HAL_SYNTH ? " -nostdinc -iwithprefix include -iwithprefix include-fixed" : "") }
 	description   "
 	    This option modifies the set of compiler flags for
             building the JFFS2 package.