aboutsummaryrefslogtreecommitdiffstats
path: root/src/m/amdx86-64.h
diff options
context:
space:
mode:
authorEli Zaretskii <[email protected]>2006-12-22 23:05:55 +0000
committerEli Zaretskii <[email protected]>2006-12-22 23:05:55 +0000
commit253d464c6f5cee6760cd314e60579f332f670583 (patch)
tree03633b7d8dc7d85e569fe8c6468dd59613602bd4 /src/m/amdx86-64.h
parentc52bf8c3ca71c731ccb47c13c9551008277abacd (diff)
Add support for NetBSD.
Diffstat (limited to 'src/m/amdx86-64.h')
-rw-r--r--src/m/amdx86-64.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/m/amdx86-64.h b/src/m/amdx86-64.h
index 670360336a..36e62ef616 100644
--- a/src/m/amdx86-64.h
+++ b/src/m/amdx86-64.h
@@ -125,12 +125,16 @@ Boston, MA 02110-1301, USA. */
#undef LIB_STANDARD
#define LIB_STANDARD -lgcc -lc -lgcc /usr/lib/crtend.o
+#elif defined(__NetBSD__)
+
+/* LIB_STANDARD and START_FILES set correctly in s/netbsd.h */
+
#elif defined(sun)
#undef START_FILES
#undef LIB_STANDARD
-#else /* !__OpenBSD__ && !__FreeBSD__ && !sun */
+#else /* !__OpenBSD__ && !__FreeBSD__ && !__NetBSD__ && !sun */
#undef START_FILES
#ifdef HAVE_X86_64_LIB64_DIR