multipath-tools: remove extra hyphen from GCC std option
PATCH 1/1 multipath-tools: remove extra hyphen from GCC std option
https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- create-config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
create-config.mk +1 -1
@@ -162,7 +162,7 @@ FORTIFY_OPT := $(shell \ # including urcu.h must be compiled with at least the C11 standard. See: # https://github.com/urcu/userspace-rcu/commit/89280d020bf064d1055c360fb9974f128051043f C_STD := $(shell \ - if printf '$(__HASH__)include <urcu.h>\nint main(void) { return 0; }\n' | $(CC) -o /dev/null -c -xc --std=gnu99 - 2>/dev/null; \ + if printf '$(__HASH__)include <urcu.h>\nint main(void) { return 0; }\n' | $(CC) -o /dev/null -c -xc -std=gnu99 - 2>/dev/null; \ then \ echo "gnu99"; \ else \
Signature · 1 line
2.49.0
Quoted 7 lines · Xose Vazquez Perez
https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-std-1
Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>
Thanks!
Reviewed-by Martin Wilck <[email protected]>