Den 21/11/2010 kl. 16.23 skrev Dimitry Andric:
> On 2010-11-15 11:10, Erik Cederstrand wrote:
>
>> Where in the build scripts would I need to add this flag? Something like:
>>
>> CXXFLAGS += -frandom-seed=${.TARGET}
>
> Rather use:
>
> CXXFLAGS+=-frandom-seed=${.IMPSRC:S/^${.CURDIR}\///}
>
>
On 2010-11-22 15:05, Erik Cederstrand wrote:
.ifdef WITH_DETERMINISTIC
CXXFLAGS+=-frandom-seed=\"${.IMPSRC:S/^${.CURDIR}\///}\"
.endif
to lib/clang/clang.build.mk
and "WITH_DETERMINISTIC=true" to src.conf, but apparently the flag isn't being
propagated to clang.build.mk. However it is being pi
Den 22/11/2010 kl. 15.24 skrev Dimitry Andric:
> Well, src.conf is only picked up if you .include , or
> another bsd.*.mk file that includes bsd.own.mk in turn.
>
> So normally, you would have a Makefile in e.g. usr.bin/clang/clang,
> which includes bsd.own.mk, and then includes clang.build.mk.
Den 22/11/2010 kl. 15.47 skrev Erik Cederstrand:
> Den 22/11/2010 kl. 15.24 skrev Dimitry Andric:
>
>> Well, src.conf is only picked up if you .include , or
>> another bsd.*.mk file that includes bsd.own.mk in turn.
>>
>> So normally, you would have a Makefile in e.g. usr.bin/clang/clang,
>> wh