summaryrefslogtreecommitdiff
path: root/src/m/amdx86-64.h
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-16 03:12:35 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-10-16 03:12:35 +0000
commitba8d1a2c37549533ca947c3788d82e46c9fcd7fc (patch)
tree2ad14b6af34dbbd38748dd8a5574a33ba720953d /src/m/amdx86-64.h
parenta0cd8f6b6c0b0d9fdc03b782e040712bb122e1ec (diff)
downloademacs-ba8d1a2c37549533ca947c3788d82e46c9fcd7fc.tar.gz
Don't set LIB_STANDARD and START_FILES under __Apple__.
Diffstat (limited to 'src/m/amdx86-64.h')
-rw-r--r--src/m/amdx86-64.h7
1 files changed, 6 insertions, 1 deletions
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 <http://www.gnu.org/licenses/>. */
#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