Skip to contentSkip to conversation

configure: update list of preserved environment variables

PATCH In review Paolo Bonzini 2 participants 2 messages Jun 7, 2022 – Jun 8, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: update list of preserved environment variables

INSTALL and LIBTOOL are not used anymore, but OBJCFLAGS is new and was not listed.

---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
configure +1 -2
index f35847c3cd..ce81419629 100755
@@ -2737,13 +2737,12 @@ preserve_env CC
 preserve_env CFLAGS
 preserve_env CXX
 preserve_env CXXFLAGS
-preserve_env INSTALL
 preserve_env LD
 preserve_env LDFLAGS
 preserve_env LD_LIBRARY_PATH
-preserve_env LIBTOOL
 preserve_env MAKE
 preserve_env NM
+preserve_env OBJCFLAGS
 preserve_env OBJCOPY
 preserve_env PATH
 preserve_env PKG_CONFIG
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 28 lines · Paolo Bonzini

INSTALL and LIBTOOL are not used anymore, but OBJCFLAGS is new and was not listed.

---
  configure | 3 +--
  1 file changed, 1 insertion(+), 2 deletions(-)
configure +1 -3
index f35847c3cd..ce81419629 100755
@@ -2737,13 +2737,12 @@ preserve_env CC
  preserve_env CFLAGS
  preserve_env CXX
  preserve_env CXXFLAGS
-preserve_env INSTALL
  preserve_env LD
  preserve_env LDFLAGS
  preserve_env LD_LIBRARY_PATH
-preserve_env LIBTOOL
  preserve_env MAKE
  preserve_env NM
+preserve_env OBJCFLAGS
  preserve_env OBJCOPY
  preserve_env PATH
  preserve_env PKG_CONFIG
--
Quoted 3 lines

2.36.1

I wonder if there are more unused variables, e.g., WINDRES and SDL2_CONFIG have some references but it seems that they are only saved and never used.

Signature · 4 lines
Matheus K. Ferst
Instituto de Pesquisas ELDORADO <http://www.eldorado.org.br/>
Analista de Software
Aviso Legal - Disclaimer <https://www.eldorado.org.br/disclaimer.html>