Remove building with NOCRYPTO option
[minix.git] / external / gpl3 / gcc / usr.bin / common / Makefile
blob25d84f2e6135c32d2e42da5f66ec8d20ed48cecc
1 # $NetBSD: Makefile,v 1.3 2014/05/31 22:55:17 mrg Exp $
3 LIBISPRIVATE= yes
5 # For ../Makefile.inc and bsd.own.mk
6 .include <bsd.init.mk>
8 LIB= common
10 SRCS= diagnostic.c pretty-print.c intl.c input.c version.c
12 # XXX make sure this doesn't have more than it needs
13 CPPFLAGS+= -I${GCCARCH} -I${BACKENDOBJ} -I. \
14 ${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
15 -DPREFIX=\"/usr\" \
16 -DDEFAULT_TARGET_VERSION=\"${G_version}\" \
17 -DDEFAULT_TARGET_MACHINE=\"${MACHINE_GNU_PLATFORM}\" \
18 -DCONFIGURE_SPECS="\"\""
20 MKPIC:= no
21 MKPICLIB:= no
23 HOSTPROG_CXX= 1
25 COPTS.diagnostic.c= -Wno-stack-protector
26 COPTS.intl.c= -Wno-stack-protector
28 ${SRCS}: ${GCCARCH}/defs.mk
30 .include <bsd.lib.mk>
32 # Force using C++ for this
33 HOST_CC:= ${HOST_CXX}
34 CC:= ${CXX}
35 CFLAGS:= ${CXXFLAGS}
37 .PATH: ${DIST}/gcc