summaryrefslogtreecommitdiff
path: root/gcc/config/arm/symbian.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-06 07:54:19 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-06 07:54:19 +0000
commit15f1f1a4cefbec9f5a817e5888f01c2e57dc400b (patch)
tree9c0095eed3486fdf32af542fc27c8ed79d2e43c8 /gcc/config/arm/symbian.h
parente2eeb731666dc753048f8dd72199b6011f715cc4 (diff)
downloadgcc-15f1f1a4cefbec9f5a817e5888f01c2e57dc400b.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85632 138bc75d-0d04-0410-961f-82ee72b054a4
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 2f8320de99e..4ad4f46b74a 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. */