Source-Changes-HG archive

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

[src/trunk]: src/sbin/dump_lfs build lfs_node.c with -O3 on ia64 to avoid ass...



details:   https://anonhg.NetBSD.org/src/rev/27061b372b43
branches:  trunk
changeset: 378475:27061b372b43
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Apr 14 08:31:24 2021 +0000

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

diffstat:

 sbin/dump_lfs/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 0b319d3ea506 -r 27061b372b43 sbin/dump_lfs/Makefile
--- a/sbin/dump_lfs/Makefile    Wed Apr 14 08:07:49 2021 +0000
+++ b/sbin/dump_lfs/Makefile    Wed Apr 14 08:31:24 2021 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index