❦ 9 octobre 2017 08:49 +0500, Илья Шипицин <[email protected]> :
>> > any particular reason for mixing "CC=gcc" with "CC?=gcc" ?
>>
>> I don't see any use of ?=, except for stuff that are expected to be in
>> environment variables (like HOME, DISPLAY, LANG, PATH).
>>
>
> # find . -name Makefile -exec grep -E '^CC' {} ';' -print
> CC = gcc
> ./Makefile
> CC = gcc
> ./contrib/debug/Makefile
> CC = gcc
> ./contrib/halog/Makefile
> CC = gcc
> ./contrib/ip6range/Makefile
> CC = gcc
> ./contrib/iprange/Makefile
> CC ?= gcc
> ./contrib/mod_defender/Makefile
> CC ?= gcc
> ./contrib/modsecurity/Makefile
> CC = gcc
> ./contrib/spoa_example/Makefile
> CC = gcc
> ./contrib/tcploop/Makefile
Oh, I didn't understand. I think ?= should just be =.
--
Your manuscript is both good and original, but the part that is good is not
original and the part that is original is not good.
-- Samuel Johnson