From 445e74105d69626d81658d46e098d902a4f807d6 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 20 Feb 2007 23:51:56 +0000 Subject: [PATCH] Fixes for STDCC compiler (more needed) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@16 42af7a65-404d-4744-a932-0658087f49c3 --- arch/c5471/defconfig | 3 +++ arch/sim/defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/arch/c5471/defconfig b/arch/c5471/defconfig index 6f8f152c22..3871d7e149 100644 --- a/arch/c5471/defconfig +++ b/arch/c5471/defconfig @@ -140,11 +140,14 @@ CONFIG_ARCH_KFREE=n # long long types and if you plan to use them # CONFIG_CAN_PASS_STRUCTS - enable if your compiler supports # passing structures and unions as values +# CONFIG_HAVE_WEAKFUNCTIONS - enable if you compiler supports +# weak functions (see include/nuttx/comp # CONFIG_HAVE_INLINE=y CONFIG_HAVE_DOUBLE=y CONFIG_HAVE_LONG_LONG=n CONFIG_CAN_PASS_STRUCTS=y +CONFIG_HAVE_WEAKFUNCTIONS=y # # General build options diff --git a/arch/sim/defconfig b/arch/sim/defconfig index 18b15d7e0f..80de3cbdc6 100644 --- a/arch/sim/defconfig +++ b/arch/sim/defconfig @@ -107,11 +107,14 @@ CONFIG_ARCH_KFREE=n # long long types and if you plan to use them # CONFIG_CAN_PASS_STRUCTS - enable if your compiler supports # passing structures and unions as values +# CONFIG_HAVE_WEAKFUNCTIONS - enable if you compiler supports +# weak functions (see include/nuttx/comp # CONFIG_HAVE_INLINE=y CONFIG_HAVE_DOUBLE=y CONFIG_HAVE_LONG_LONG=n CONFIG_CAN_PASS_STRUCTS=y +CONFIG_HAVE_WEAKFUNCTIONS=y # # General build options