Skip to contentSkip to conversation

multipath-tools: remove extra hyphen from GCC std option

PATCH In review Xose Vazquez Perez 2 participants 2 messages Jun 23, 2025 Device mapper

lore
Share & tools
lore
#0 lore raw

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]>
---
 create-config.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
create-config.mk +1 -1
index f05fdabe..3c3ba069 100644
@@ -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