Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ntp Make ntp work on sparc64 (workaround for toolch...



details:   https://anonhg.NetBSD.org/src/rev/12e2723045a3
branches:  trunk
changeset: 499136:12e2723045a3
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Nov 12 19:48:55 2000 +0000

description:
Make ntp work on sparc64 (workaround for toolchain problems) by
adding -msoft-quad-float.

diffstat:

 usr.sbin/ntp/Makefile.inc |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r ce828bb0b1b6 -r 12e2723045a3 usr.sbin/ntp/Makefile.inc
--- a/usr.sbin/ntp/Makefile.inc Sun Nov 12 19:39:42 2000 +0000
+++ b/usr.sbin/ntp/Makefile.inc Sun Nov 12 19:48:55 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.4 2000/06/18 10:11:25 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2000/11/12 19:48:55 martin Exp $
 
 .if !defined(NTP_MAKEFILE_INC)
 NTP_MAKEFILE_INC=1
@@ -14,6 +14,9 @@
 .endif
 
 CPPFLAGS+=     -I${.CURDIR}/../include -I${DIST}/include -DHAVE_CONFIG_H
+.if (${MACHINE_ARCH} == "sparc64")
+CFLAGS+=        -msoft-quad-float
+.endif
 
 .if defined(PROG)
 LIBNTP!=       cd ${.CURDIR}/../libntp; ${MAKE} print-objdir



Home | Main Index | Thread Index | Old Index