summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cc/libobjc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/libobjc/Makefile')
-rw-r--r--gnu/usr.bin/cc/libobjc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/libobjc/Makefile b/gnu/usr.bin/cc/libobjc/Makefile
index a371648942f..df06dcdecc3 100644
--- a/gnu/usr.bin/cc/libobjc/Makefile
+++ b/gnu/usr.bin/cc/libobjc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD: src/gnu/lib/libobjc/Makefile,v 1.34.2.1 2009/08/03 08:13:06 kensmith Exp $
-# $OpenBSD: Makefile,v 1.7 2017/07/10 21:30:37 espie Exp $
+# $OpenBSD: Makefile,v 1.8 2017/07/24 19:22:49 robert Exp $
OBJCDIR=${.CURDIR}/../../../gcc/libobjc
GCCDIR= ${.CURDIR}/../../../gcc/gcc
@@ -57,7 +57,7 @@ BUILDFIRST = ${GENHDRS}
.SUFFIXES: .m
# ObjC
-OBJC?= cc
+OBJC?= ${CC}
OBJCFLAGS?= ${CFLAGS} ${CPPFLAGS} -Wno-import
COMPILE.m?= ${OBJC} ${OBJCFLAGS} -c
LINK.m?= ${OBJC} ${OBJCFLAGS} ${LDFLAGS}