summaryrefslogtreecommitdiff
path: root/gcc/config/m68hc11/m68hc12.h
diff options
context:
space:
mode:
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-04 19:49:25 +0000
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2001-05-04 19:49:25 +0000
commit4e1ec76ed159d9922c6173fe587f64417810bcde (patch)
tree4e34d9cd0e732cfd3bcddada2f223439d6fb6c02 /gcc/config/m68hc11/m68hc12.h
parent1df818c3828d8ec34ef79a8c80eda1c8c330a14c (diff)
downloadgcc-4e1ec76ed159d9922c6173fe587f64417810bcde.tar.gz
* config/m68hc11/m68hc11.h (CPP_SPEC): Pass -D__HAVE_SHORT_DOUBLE__
to the pre-processor when -fshort-double is specified. * config/m68hc11/m68hc11.2 (CPP_SPEC): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41843 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68hc11/m68hc12.h')
-rw-r--r--gcc/config/m68hc11/m68hc12.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68hc11/m68hc12.h b/gcc/config/m68hc11/m68hc12.h
index 7cd4dddc468..277c788915b 100644
--- a/gcc/config/m68hc11/m68hc12.h
+++ b/gcc/config/m68hc11/m68hc12.h
@@ -32,7 +32,8 @@ Boston, MA 02111-1307, USA. */
"%{mshort:-D__HAVE_SHORT_INT__ -D__INT__=16 -D__INT_MAX__=32767}\
%{!mshort:-D__INT__=32 -D__INT_MAX__=2147483647}\
%{m68hc11:-Dmc6811 -DMC6811 -Dmc68hc11}\
- %{!m68hc11:-Dmc6812 -DMC6812 -Dmc68hc12}"
+ %{!m68hc11:-Dmc6812 -DMC6812 -Dmc68hc12}\
+ %{fshort-double:-D__HAVE_SHORT_DOUBLE__}"
/* Default target_flags if no switches specified. */
#define TARGET_DEFAULT (MASK_M6812)