mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
common.mak: Use '?=' assignment operator for 'CROSS_COMPILE'
This fixes the following error: $ make CROSS_COMPILE=s390x-linux-gnu- HOST_ARCH=s390x ../../../common.mak:117: *** Please specify CROSS_COMPILE=... and try it again!. Stop. $ make --version GNU Make 4.4.1 Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
ad709c1eaf
commit
24e285ce02
@@ -48,7 +48,7 @@ export S390_TEST_LIB_PATH=$(rootdir)/s390-tools-testsuite/lib
|
||||
# $ make HOST_ARCH=s390x CROSS_COMPILE="s390x-linux-gnu-"
|
||||
#
|
||||
|
||||
CROSS_COMPILE =
|
||||
CROSS_COMPILE ?=
|
||||
|
||||
#
|
||||
# Commands can be overwritten on the command line with "make <VAR>=<VALUE>":
|
||||
|
||||
Reference in New Issue
Block a user