Date: Thu, 15 Mar 2012 12:26:48 -0800 (AKDT) From: Mel Flynn <rflynn@acsalaska.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/166159: [patch] Fix clang-only build for buildworld. Message-ID: <201203152026.q2FKQmQq030806@datakitty.lan.rachie.is-a-geek.net> Resent-Message-ID: <201203152030.q2FKU7HL068166@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166159 >Category: bin >Synopsis: [patch] Fix clang-only build for buildworld. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 15 20:30:07 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Mel Flynn >Release: FreeBSD 8.2-STABLE amd64 >Organization: >Environment: System: FreeBSD datakitty.lan.rachie.is-a-geek.net 8.2-STABLE FreeBSD 8.2-STABLE #6 r230977: Sun Feb 5 06:20:11 AKST 2012 mel@datakitty.lan.rachie.is-a-geek.net:/data/obj/data/RELENG_8/src/sys/GENERIC amd64 >Description: Variables that are not set in the environment but for example in makefiles or make.conf are not export to shell commands. This makes compilation of usr.bin/xlint/llib fail. It's the only remaining obstacle I found, with a 8.2 host and 9-stable gcc-less jail. >How-To-Repeat: Have a base WITHOUT_GCC WITH_CLANG. make buildworld. >Fix: --- fix-clang-build-releng_9.patch begins here --- Index: usr.bin/xlint/llib/Makefile =================================================================== --- usr.bin/xlint/llib/Makefile (revision 232964) +++ usr.bin/xlint/llib/Makefile (working copy) @@ -9,9 +9,9 @@ CLEANFILES+= ${LIBS} llib-lposix.ln: llib-lposix - ${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC} + env CC=${CC} ${LINT} ${LINTFLAGS} -Cposix ${.ALLSRC} llib-lstdc.ln: llib-lstdc - ${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC} + env CC=${CC} ${LINT} ${LINTFLAGS} -Cstdc ${.ALLSRC} .include <bsd.prog.mk> --- fix-clang-build-releng_9.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203152026.q2FKQmQq030806>