Subject: bin/13285: bsd.sys.mk/MKSOFTFLOAT
To: None <gnats-bugs@gnats.netbsd.org>
From: None <prlw1@cam.ac.uk>
List: netbsd-bugs
Date: 06/23/2001 01:08:21
>Number:         13285
>Category:       bin
>Synopsis:       bug in bsd.sys.mk
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 22 17:06:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Welche
>Release:        21 Jun 2001 13:33GMT
>Organization:
>Environment:
NetBSD-1.5W/i386
>Description:
Make release. I hit the bug in distrib/i386/floppies. Get complaint of
missing conditional
>How-To-Repeat:
	
>Fix:
Index: bsd.sys.mk
===================================================================
RCS file: /cvsroot/sharesrc/share/mk/bsd.sys.mk,v
retrieving revision 1.47
diff -p -r1.47 bsd.sys.mk
*** bsd.sys.mk	2001/06/18 17:04:45	1.47
--- bsd.sys.mk	2001/06/23 00:03:56
*************** LINTFLAGS+= -d ${DESTDIR}/usr/include
*** 35,43 ****
  CPPFLAGS+= -D__AUDIT__
  .endif
  
! .if (${MKSOFTFLOAT} != "no")
  COPTS+=		-msoft-float
  FOPTS+=		-msoft-float
  .endif
  
  # Helpers for cross-compiling
--- 35,45 ----
  CPPFLAGS+= -D__AUDIT__
  .endif
  
! .if defined(MKSOFTFLOAT)
! .if ${MKSOFTFLOAT} != "no"
  COPTS+=		-msoft-float
  FOPTS+=		-msoft-float
+ .endif
  .endif
  
  # Helpers for cross-compiling
>Release-Note:
>Audit-Trail:
>Unformatted: