Răsfoiți Sursa

Makefile: unexport 'PLATFORM' and 'OS' environment variables

Some package builds may fail when environment variables are present with the
same names as make variables in a package. This is a bigger problem for
environment variables with generic names, like 'PLATFORM' and 'OS'.

'PLATFORM' is for example a problem for host-acl.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit d3e535a839a893d4721240278fada4652544b60c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Thomas De Schampheleire 6 ani în urmă
părinte
comite
bfd008d132
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      Makefile

+ 2 - 0
Makefile

@@ -422,6 +422,8 @@ unexport TERMINFO
 unexport MACHINE
 unexport O
 unexport GCC_COLORS
+unexport PLATFORM
+unexport OS
 
 GNU_HOST_NAME := $(shell support/gnuconfig/config.guess)