changeset 105628:ce25ad6994a1

Don't set LIB_STANDARD and START_FILES under __Apple__.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Fri, 16 Oct 2009 03:12:35 +0000
parents 8205744f091c
children bdfcf9d2baaa
files src/m/amdx86-64.h
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/m/amdx86-64.h	Fri Oct 16 03:09:48 2009 +0000
+++ b/src/m/amdx86-64.h	Fri Oct 16 03:12:35 2009 +0000
@@ -106,7 +106,12 @@
 #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