diff options
| author | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2019-09-29 23:44:58 +0000 |
| commit | 1569c011b51d28c2f219bbdf7281fefeeea0891c (patch) | |
| tree | 2125d7503b81db3a434346b57a987a80efbb25a2 /sys/lib | |
| parent | ae69ca9eb73a1079739da2f83bad6e93d123c746 (diff) | |
convert HAVE_GCC == 7 to HAVE_GCC >= 7.
Diffstat (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libkern/Makefile.compiler-rt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libkern/Makefile.compiler-rt b/sys/lib/libkern/Makefile.compiler-rt index b8d1a6f7827..b06d93bfa9c 100644 --- a/sys/lib/libkern/Makefile.compiler-rt +++ b/sys/lib/libkern/Makefile.compiler-rt @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.compiler-rt,v 1.9 2019/04/05 14:00:16 thorpej Exp $ +# $NetBSD: Makefile.compiler-rt,v 1.10 2019/09/29 23:44:59 mrg Exp $ COMPILER_RT_SRCDIR= ${NETBSDSRCDIR}/sys/external/bsd/compiler_rt/dist @@ -128,7 +128,7 @@ COPTS.${src}+= -Wno-missing-prototypes \ CPPFLAGS.int_util.c+= -DKERNEL_USE # XXX Explicit divide by zero in udivmoddi4.c -> abort(). -.if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" +.if defined(HAVE_GCC) && ${HAVE_GCC} >= 7 && ${ACTIVE_CC} == "gcc" . if ${MACHINE_CPU} != "arm" COPTS.udivmoddi4.c+= -fnon-call-exceptions . endif |
