From ba8d1a2c37549533ca947c3788d82e46c9fcd7fc Mon Sep 17 00:00:00 2001 From: Adrian Robert Date: Fri, 16 Oct 2009 03:12:35 +0000 Subject: [PATCH] Don't set LIB_STANDARD and START_FILES under __Apple__. --- src/m/amdx86-64.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h index bccd3d3825f..d29ae850ae9 100644 --- a/src/m/amdx86-64.h +++ b/src/m/amdx86-64.h @@ -106,7 +106,12 @@ along with GNU Emacs. If not, see . */ #undef START_FILES #undef LIB_STANDARD -#else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !SOLARIS2 */ +#elif defined(__APPLE__) + +/* LIB_STANDARD and START_FILES set correctly in s/darwin.h */ + +#else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !SOLARIS2 + && !__APPLE__ */ /* The duplicate -lgcc is intentional in the definition of LIB_STANDARD. The reason is that some functions in libgcc.a call functions from libc.a, and some libc.a functions need functions from libgcc.a. Since most -- 2.39.5