criu/scripts
Radostin Stoyanov 59930e5afb tools.mk: Define CC if not set to 'default'
FOO ?= bar

is equivalent to

	ifeq ($(origin FOO), undefined)
	FOO = bar
	endif

However, when CC is not set its value is 'default' rather than
'undefined'.

>From [1]:

'undefined': if variable was never defined.

'default': if variable has a default definition, as is usual with CC
and so on. See Variables Used by Implicit Rules. Note that if you have
redefined a default variable, the origin function will return the
origin of the later definition.

[1] https://www.gnu.org/software/make/manual/make.html

Signed-off-by: Radostin Stoyanov <rstoyanov1@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
2019-04-20 20:25:26 -07:00
..
build scripts/build: use the last stable release for s390 2019-04-20 20:25:26 -07:00
nmk tools.mk: Define CC if not set to 'default' 2019-04-20 20:25:26 -07:00
travis travis-ci: Enable ia32 tests 2019-04-20 20:25:26 -07:00
crit-setup.py lib Makefiles: integrate 2017-03-06 20:44:07 +03:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak ia32: Get rid of R_X86_64_32S relocation 2017-11-23 20:23:23 +03:00
flake8.cfg lint/python: ignore E117 over-indented 2019-02-16 11:06:01 -08:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py python: Remove unused imports 2018-10-30 19:28:01 +03:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh scripts/systemd-autofs-restart.sh: fix variable name 2018-07-09 18:26:50 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00