Module Name:    src
Committed By:   mrg
Date:           Wed Apr 14 08:31:25 UTC 2021

Modified Files:
        src/sbin/dump_lfs: Makefile

Log Message:
build lfs_node.c with -O3 on ia64 to avoid assembler overflow issues.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sbin/dump_lfs/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/dump_lfs/Makefile
diff -u src/sbin/dump_lfs/Makefile:1.19 src/sbin/dump_lfs/Makefile:1.20
--- src/sbin/dump_lfs/Makefile:1.19	Mon Sep  7 03:09:53 2020
+++ src/sbin/dump_lfs/Makefile	Wed Apr 14 08:31:24 2021
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.19 2020/09/07 03:09:53 mrg Exp $
+#	$NetBSD: Makefile,v 1.20 2021/04/14 08:31:24 mrg Exp $
 #	@(#)Makefile	8.1 (Berkeley) 6/5/93
 
 #	lfs_inode.c		LFS filestore-specific routines
@@ -27,6 +27,10 @@ LDADD+= -lutil
 COPTS.lfs_inode.c+=	-fno-tree-ter
 .endif
 
+.if ${MACHINE_ARCH} == "ia64"
+COPTS.lfs_inode.c+=	-O3
+.endif
+
 .PATH:  ${NETBSDSRCDIR}/sbin/dump ${NETBSDSRCDIR}/sys/ufs/lfs \
     ${NETBSDSRCDIR}/sys/ufs/ffs
 

Reply via email to