From 25724854812d4e444e61eb19e83c139721263dde Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Tue, 16 Dec 2003 05:40:06 +0000 Subject: [PATCH] One might want to correctly generate 32-bit code on an Opteron. Submitted by: peter --- contrib/gcc/config/i386/freebsd64.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h index 548b092d891b..abcd96585e48 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)