Force GNU89 mode for GCC itself to deal with the non-standard

"extern inline" mess.
This commit is contained in:
joerg 2011-05-20 21:35:02 +00:00
parent 6b4fe8bf2c
commit 5bb05ebf25

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.2 2006/05/13 01:18:37 mrg Exp $
# $NetBSD: Makefile.inc,v 1.3 2011/05/20 21:35:02 joerg Exp $
.include <bsd.own.mk>
@ -58,3 +58,6 @@ CPPFLAGS+= -DENABLE_SHARED_LIBGCC
CPPFLAGS+= -DNO_SHARED_LIBGCC_MULTILIB
.endif
.endif
# This depends on the "extern inline" mess, so downgrade to something safe.
CFLAGS+= -std=gnu89