From 8798b98c6060c961754d61fb1498d93afea1f0d8 Mon Sep 17 00:00:00 2001 From: matt Date: Sat, 11 Jun 2011 00:57:29 +0000 Subject: [PATCH] If we are compiling -msoft-float, define _SOFT_FLOAT --- gnu/dist/gcc4/gcc/config/rs6000/netbsd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h b/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h index 7ef26c8be49c..743b098a9e55 100644 --- a/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h +++ b/gnu/dist/gcc4/gcc/config/rs6000/netbsd.h @@ -46,6 +46,8 @@ builtin_assert ("machine=powerpc"); \ if (TARGET_SECURE_PLT) \ builtin_define ("_SECURE_PLT"); \ + if (TARGET_SOFT_FLOAT) \ + builtin_define ("_SOFT_FLOAT"); \ } \ while (0)