Re: patch: allow to use any compiler

2017-10-18 Thread Willy Tarreau
On Mon, Oct 09, 2017 at 10:27:19AM +0500, ??? wrote: > 2017-10-09 10:10 GMT+05:00 Vincent Bernat : > > > ? 9 octobre 2017 08:49 +0500, ??? : > > > > >> > any particular reason for mixing "CC=gcc" with "CC?=gcc" ? > > >> > > >> I don't

Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-09 10:10 GMT+05:00 Vincent Bernat : > ❦ 9 octobre 2017 08:49 +0500, Илья Шипицин : > > >> > 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 > >>

Re: patch: allow to use any compiler

2017-10-08 Thread Vincent Bernat
❦ 9 octobre 2017 08:49 +0500, Илья Шипицин  : >> > 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

Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-08 15:59 GMT+05:00 Vincent Bernat : > ❦ 8 octobre 2017 15:46 +0500, Илья Шипицин : > > >> > while some Makefiles allow to use CC, other just stick to gcc. > >> > I think we should change to > >> > > >> > CC ?= gcc > >> > >> This doesn't change

Re: patch: allow to use any compiler

2017-10-08 Thread Vincent Bernat
❦ 8 octobre 2017 15:46 +0500, Илья Шипицин  : >> > while some Makefiles allow to use CC, other just stick to gcc. >> > I think we should change to >> > >> > CC ?= gcc >> >> This doesn't change much. You can already override gcc with "make >> TARGET=... CC=clang". The only

Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-05 1:01 GMT+05:00 Vincent Bernat : > ❦ 4 octobre 2017 23:49 +0500, Илья Шипицин : > > > while some Makefiles allow to use CC, other just stick to gcc. > > I think we should change to > > > > CC ?= gcc > > This doesn't change much. You can already

Re: patch: allow to use any compiler

2017-10-04 Thread Илья Шипицин
2017-10-05 1:01 GMT+05:00 Vincent Bernat : > ❦ 4 octobre 2017 23:49 +0500, Илья Шипицин : > > > while some Makefiles allow to use CC, other just stick to gcc. > > I think we should change to > > > > CC ?= gcc > > This doesn't change much. You can already

Re: patch: allow to use any compiler

2017-10-04 Thread Vincent Bernat
❦ 4 octobre 2017 23:49 +0500, Илья Шипицин  : > while some Makefiles allow to use CC, other just stick to gcc. > I think we should change to > > CC ?= gcc This doesn't change much. You can already override gcc with "make TARGET=... CC=clang". The only thing "?=" is that

patch: allow to use any compiler

2017-10-04 Thread Илья Шипицин
Hello, while some Makefiles allow to use CC, other just stick to gcc. I think we should change to CC ?= gcc everywhere Cheers, Ilya Shipitsin From 246341f636d085a4e99bdc9f66b5fa3c7bb2b7d3 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Wed, 4 Oct 2017 23:43:05 +0500