File tree Expand file tree Collapse file tree
external/gpl3/gcc/usr.bin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # $NetBSD: Makefile.frontend,v 1.7 2019/10/24 18:48:43 christos Exp $
1+ # $NetBSD: Makefile.frontend,v 1.8 2026/01/18 08:51:07 mrg Exp $
22
33BINDIR= /usr/bin
44
55CPPFLAGS+= -I${GCCARCH} -I${FRONTENDOBJ} \
6- ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
7- -DIN_GCC_FRONTEND
6+ ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}
87
98NOCTF= # defined
109.include <bsd.init.mk>
Original file line number Diff line number Diff line change 1- # $NetBSD: Makefile.inc,v 1.42 2025/10/20 14:31:37 nat Exp $
1+ # $NetBSD: Makefile.inc,v 1.43 2026/01/18 08:51:07 mrg Exp $
22
33.ifndef _EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_
44_EXTERNAL_GPL3_GCC_USR_BIN_MAKEFILE_INC_ =1
@@ -78,6 +78,10 @@ CPPFLAGS+= -DNO_SHARED_LIBGCC_MULTILIB
7878.endif
7979.endif
8080
81+ .for _f in ${G_ALL_HOST_FRONTEND_OBJS :.o=.cc}
82+ COPTS.${_f}+ = -DIN_GCC_FRONTEND
83+ .endfor
84+
8185NOCLANGERROR = # defined
8286
8387WARNS =1
You can’t perform that action at this time.
0 commit comments