summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/i386/freebsd64.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/i386/freebsd64.h')
-rw-r--r--contrib/gcc/config/i386/freebsd64.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/gcc/config/i386/freebsd64.h b/contrib/gcc/config/i386/freebsd64.h
index 82e3814..548b092 100644
--- a/contrib/gcc/config/i386/freebsd64.h
+++ b/contrib/gcc/config/i386/freebsd64.h
@@ -25,6 +25,14 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (FreeBSD/x86-64 ELF)");
+#undef FBSD_TARGET_CPU_CPP_BUILTINS
+#define FBSD_TARGET_CPU_CPP_BUILTINS() \
+ do \
+ { \
+ builtin_define ("__LP64__"); \
+ } \
+ while (0)
+
/* Provide a LINK_SPEC appropriate for the FreeBSD/x86-64 ELF target.
This is a copy of LINK_SPEC from <i386/freebsd.h> tweaked for
the x86-64 target. */
OpenPOWER on IntegriCloud