NetBSD/bin/expr/Makefile
mrg 6d188dd0d7 convert HAVE_GCC handling to modern GCC release numbering:
- HAVE_GCC=5 is now the default (vs. HAVE_GCC=53 we've been using for
  GCC 5.4 and GCC 5.5.)
- remove some more GCC 4.8 code.  we don't support GCC 4 here.
- adjust set lists to gcc=5 from gcc=53.

add some basic HAVE_GCC=6 handling (totally unused so far.)
2018-02-02 01:02:39 +00:00

12 lines
210 B
Makefile

# $NetBSD: Makefile,v 1.16 2018/02/02 01:02:39 mrg Exp $
PROG= expr
SRCS= expr.y
.include <bsd.prog.mk>
# XXXGCC5
.if defined(HAVE_GCC) && ${HAVE_GCC} >= 5 && ${ACTIVE_CC} == "gcc"
CFLAGS+= -fwrapv
.endif