aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/symbian.h
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2004-08-06 07:54:19 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2004-08-06 07:54:19 +0000
commit866cf0373156f1a614d620522caef62a36b2b5e4 (patch)
tree9c0095eed3486fdf32af542fc27c8ed79d2e43c8 /gcc/config/arm/symbian.h
parent9652c5316a476e5e85ebf416602c4ac61a75fef0 (diff)
downloadgcc-866cf0373156f1a614d620522caef62a36b2b5e4.zip
gcc-866cf0373156f1a614d620522caef62a36b2b5e4.tar.gz
gcc-866cf0373156f1a614d620522caef62a36b2b5e4.tar.bz2
symbian.h (CC1_SPEC): Add -fno-short-enums.
* config/arm/symbian.h (CC1_SPEC): Add -fno-short-enums. (CC1PLUS_SPEC): Define it to be the same as CC1_SPEC. * gcc.dg/enum2.c: New test. * gcc.dg/symbian3.c: Likewise. * gcc.dg/symbian4.c: Likewise. * gcc.dg/wchar_t-2.c: Likewise. From-SVN: r85632
Diffstat (limited to 'gcc/config/arm/symbian.h')
-rw-r--r--gcc/config/arm/symbian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/symbian.h b/gcc/config/arm/symbian.h
index 2f8320d..4ad4f46 100644
--- a/gcc/config/arm/symbian.h
+++ b/gcc/config/arm/symbian.h
@@ -35,8 +35,8 @@
Make all symbols hidden by default. Symbian OS expects that all
exported symbols will be explicitly marked with
"__declspec(dllexport)". */
-#define CC1_SPEC "-fno-builtin -fvisibility=hidden"
-#define CC1PLUS_SPEC "-fno-builtin -fvisibility=hidden"
+#define CC1_SPEC "-fno-builtin -fvisibility=hidden -fno-short-enums"
+#define CC1PLUS_SPEC CC1_SPEC
/* Symbian OS does not use crt0.o, unlike the generic unknown-elf
configuration. */