Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/share/mk
On 10.04.11 23:03, Joerg Sonnenberger wrote:
> Module Name: src
> Committed By: joerg
> Date: Sun Apr 10 21:03:17 UTC 2011
>
> Modified Files:
> src/share/mk: bsd.own.mk
>
> Log Message:
> Use ?: operator to determine when to add --sysroot. Unbreaks clang
> bootstrap.
>
[...]
>
> -CPPFLAGS+= ${HOSTPROG:U${HOSTLIB:U${DESTDIR:D--sysroot=${DESTDIR}}}}
> -LDFLAGS+= ${HOSTPROG:U${HOSTLIB:U${DESTDIR:D--sysroot=${DESTDIR}}}}
> +CPPFLAGS+= ${!defined(HOSTPROG) && !defined(HOSTLIB) && defined(DESTDIR)
> :? --sysroot=${DESTDIR} :}
> +LDFLAGS+= ${!defined(HOSTPROG) && !defined(HOSTLIB) && defined(DESTDIR)
> :? --sysroot=${DESTDIR} :}
> .endif # EXTERNAL_TOOLCHAIN
> # }
:? == ?: operator?
Christoph
Home |
Main Index |
Thread Index |
Old Index