summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2024-03-29 06:52:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2024-03-29 06:52:51 +0000
commit6f2ebc21dbf6f1d05609d59fbe08f4abc8f354ba (patch)
treed3cbd184fc9debc301db58bf957464bfe8541aa7 /gnu/usr.bin/cc
parent0f6b87cfeaa1eaf8df6d6578596aec037e8bd867 (diff)
No longer build the objective-C compiler (cc1obj). Its standard library
(libobjc) had been removed from the build years ago, there is no need to keep the compiler. ok beck@ joshua@
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/Makefile3
-rw-r--r--gnu/usr.bin/cc/cc1obj/Makefile32
2 files changed, 1 insertions, 34 deletions
diff --git a/gnu/usr.bin/cc/Makefile b/gnu/usr.bin/cc/Makefile
index 170ad2f1222..008284a545a 100644
--- a/gnu/usr.bin/cc/Makefile
+++ b/gnu/usr.bin/cc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/usr.bin/cc/Makefile,v 1.41.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.3 2017/07/24 19:23:57 robert Exp $
+# $OpenBSD: Makefile,v 1.4 2024/03/29 06:52:50 miod Exp $
.include <bsd.own.mk>
@@ -13,7 +13,6 @@ SUBDIR+= cpp
.endif
SUBDIR+= cc1plus c++ c++filt
-SUBDIR+= cc1obj
SUBDIR+= gcov
SUBDIR+= libgcc
SUBDIR+= libgcov
diff --git a/gnu/usr.bin/cc/cc1obj/Makefile b/gnu/usr.bin/cc/cc1obj/Makefile
deleted file mode 100644
index 8b6d97a459f..00000000000
--- a/gnu/usr.bin/cc/cc1obj/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# $FreeBSD: src/gnu/usr.bin/cc/cc1obj/Makefile,v 1.28.8.1 2009/04/15 03:14:26 kensmith Exp $
-# $OpenBSD: Makefile,v 1.2 2010/05/06 20:58:10 naddy Exp $
-
-.include <bsd.own.mk>
-
-.include "${.CURDIR}/../Makefile.inc"
-.include "${.CURDIR}/../Makefile.ver"
-
-.PATH: ${GCCDIR}/objc ${GCCDIR}
-
-PROG= cc1obj
-SRCS= main.c c-parser.c objc-act.c objc-lang.c c-decl.c
-BINDIR= /usr/lib/gcc-lib/${GCC_TARGET}/${BASEVER}
-NOMAN= Yes
-NO_PIC= Yes
-
-CFLAGS+= -I${GCCDIR}/objc -I.
-
-OBJS+= ${PROG}-checksum.o
-DPADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
-LDADD= ${LIBBACKEND} ${LIBCPP} ${LIBDECNUMBER} ${LIBIBERTY}
-
-DOBJS+= ${SRCS:N*.h:R:S/$/.o/g}
-${PROG}-dummy: ${DOBJS}
- ${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${DOBJS} ${LDADD}
-CLEANFILES+= ${PROG}-dummy
-
-${PROG}-checksum.c: ${PROG}-dummy
- ../cc_tools/genchecksum ${PROG}-dummy > ${.TARGET}
-CLEANFILES+= ${PROG}-checksum.c
-
-.include <bsd.prog.mk>