Module Name: src
Committed By: christos
Date: Mon May 20 04:16:48 UTC 2024
Modified Files:
src/sys/rump: Makefile.rump
Log Message:
Handle versions > 100
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/rump/Makefile.rump
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/rump/Makefile.rump
diff -u src/sys/rump/Makefile.rump:1.137 src/sys/rump/Makefile.rump:1.138
--- src/sys/rump/Makefile.rump:1.137 Sun May 19 18:25:49 2024
+++ src/sys/rump/Makefile.rump Mon May 20 00:16:48 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.rump,v 1.137 2024/05/19 22:25:49 christos Exp $
+# $NetBSD: Makefile.rump,v 1.138 2024/05/20 04:16:48 christos Exp $
#
.if !defined(_RUMP_MK)
@@ -54,7 +54,7 @@ RUMP_NBCOMPAT= 50 60 70 80 90 100 110
RUMP_NBCOMPAT=
.endif
RUMP_NBCOMPAT:= ${RUMP_NBCOMPAT:S/,/ /g}
-CPPFLAGS+= ${RUMP_NBCOMPAT:C/[1-9]0/-DCOMPAT_&/g}
+CPPFLAGS+= ${RUMP_NBCOMPAT:C/^[1-9][0-9]*/-DCOMPAT_&/g}
CPPFLAGS+= -nostdinc
CFLAGS+= -ffreestanding -fno-strict-aliasing