Update minix-port.patch.

This commit is contained in:
Evgeniy Ivanov
2011-07-12 16:44:29 +00:00
committed by Ben Gras
parent 8a5484202c
commit 48331843ea
2 changed files with 12 additions and 7 deletions

View File

@@ -1,17 +1,13 @@
diff -ru nbsdsrc/src/lib/libm/Makefile lib/nbsd_libm/Makefile
--- nbsdsrc/src/lib/libm/Makefile
+++ lib/nbsd_libm/Makefile
@@ -13,6 +13,14 @@
@@ -13,6 +13,10 @@
#
#
+.warning MACHINE_ARCH is first ${MACHINE_ARCH}
+
+.if ${MACHINE_ARCH} == "unknown"
+MACHINE_ARCH:= ${MACHINE}
+.endif
+
+.warning MACHINE_ARCH is now ${MACHINE_ARCH}
+
#
# There are two options in making libm at fdlibm compile time: