Skip to contentSkip to conversation

meson: fix static flag summary

PATCH Applied Laurent Vivier 4 participants 4 messages Sep 17, 2020 – Sep 23, 2020 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 meson: fix static flag summary

'static build:' must display value of CONFIG_STATIC rather than value of CONFIG_TOOLS.

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
index 5421eca66a02..c174f0ab0948 100644
@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled':     config_host.has_key('CONFIG_GPROF')}
 summary_info += {'sparse enabled':    meson.get_compiler('c').cmd_array().contains('cgcc')}
 summary_info += {'strip binaries':    get_option('strip')}
 summary_info += {'profiler':          config_host.has_key('CONFIG_PROFILER')}
-summary_info += {'static build':      config_host.has_key('CONFIG_TOOLS')}
+summary_info += {'static build':      config_host.has_key('CONFIG_STATIC')}
 if targetos == 'darwin'
   summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')}
 endif
Signature · 1 line
2.26.2
#1 lore raw

Oops. :)

Paolo

Il gio 17 set 2020, 16:07 Laurent Vivier <[email protected]> ha scritto:

Quoted 29 lines

'static build:' must display value of CONFIG_STATIC rather than value of CONFIG_TOOLS.

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
index 5421eca66a02..c174f0ab0948 100644
@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled':
 config_host.has_key('CONFIG_GPROF')}
 summary_info += {'sparse enabled':
 meson.get_compiler('c').cmd_array().contains('cgcc')}
 summary_info += {'strip binaries':    get_option('strip')}
 summary_info += {'profiler':
 config_host.has_key('CONFIG_PROFILER')}
-summary_info += {'static build':      config_host.has_key('CONFIG_TOOLS')}
+summary_info += {'static build':

config_host.has_key('CONFIG_STATIC')}
if targetos == 'darwin'
summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')}
endif
--
2.26.2

Reviewed-by on v1 1/1
#2 lore raw
In reply to Laurent Vivier
Quoted 14 lines · Laurent Vivier

'static build:' must display value of CONFIG_STATIC rather than value of CONFIG_TOOLS.

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +0 -0
index 5421eca66a02..c174f0ab0948 100644

meson.build summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} · line 1380

Quoted 8 lines
meson.build +1 -1
@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled':     config_host.has_key('CONFIG_GPROF')}
 summary_info += {'sparse enabled':    meson.get_compiler('c').cmd_array().contains('cgcc')}
 summary_info += {'strip binaries':    get_option('strip')}
 summary_info += {'profiler':          config_host.has_key('CONFIG_PROFILER')}
-summary_info += {'static build':      config_host.has_key('CONFIG_TOOLS')}
+summary_info += {'static build':      config_host.has_key('CONFIG_STATIC')}
 if targetos == 'darwin'
   summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')}
 endif
#3 lore raw
In reply to Laurent Vivier

Le 17/09/2020 à 16:07, Laurent Vivier a écrit :

Quoted 14 lines

'static build:' must display value of CONFIG_STATIC rather than value of CONFIG_TOOLS.

---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +0 -0
index 5421eca66a02..c174f0ab0948 100644

meson.build summary_info += {'gprof enabled': config_host.has_key('CONFIG_GPROF')} · line 1380

Quoted 8 lines
meson.build +1 -1
@@ -1374,7 +1374,7 @@ summary_info += {'gprof enabled':     config_host.has_key('CONFIG_GPROF')}
 summary_info += {'sparse enabled':    meson.get_compiler('c').cmd_array().contains('cgcc')}
 summary_info += {'strip binaries':    get_option('strip')}
 summary_info += {'profiler':          config_host.has_key('CONFIG_PROFILER')}
-summary_info += {'static build':      config_host.has_key('CONFIG_TOOLS')}
+summary_info += {'static build':      config_host.has_key('CONFIG_STATIC')}
 if targetos == 'darwin'
   summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')}
 endif

Applied to my trivial-patches branch.

Thanks,
Laurent