summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/gcc/config/i386/freebsd64.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h
index 548b092..abcd965 100644
--- a/contrib/gcc/config/i386/freebsd64.h
+++ b/contrib/gcc/config/i386/freebsd64.h
@@ -29,7 +29,10 @@ Boston, MA 02111-1307, USA. */
#define FBSD_TARGET_CPU_CPP_BUILTINS() \
do \
{ \
- builtin_define ("__LP64__"); \
+ if (TARGET_64BIT) \
+ { \
+ builtin_define ("__LP64__"); \
+ } \
} \
while (0)
OpenPOWER on IntegriCloud