Skip to contentSkip to conversation

acinclude: Correct CFLAGS variable name typo.

PATCH Applied Ossama Othman 2 participants 2 messages Jun 13, 2019 – Jun 14, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 acinclude: Correct CFLAGS variable name typo.

The "-Wvariadic-macros" compiler command line option was appended to the "CFALGS" variables instead of "CFLAGS", which prevented it from being used when building ELL. Change "CFALGS" to "CFLAGS".

---
 acinclude.m4 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
acinclude.m4 +1 -1
index cad86ec..1bd01d0 100644
@@ -60,7 +60,7 @@ AC_DEFUN([COMPILER_FLAGS], [
 		CFLAGS+=" -Wredundant-decls"
 		CFLAGS+=" -Wswitch-enum"
 		CFLAGS+=" -Wtype-limits"
-		CFALGS+=" -Wvariadic-macros"
+		CFLAGS+=" -Wvariadic-macros"
 		CFLAGS+=" -Wformat -Wformat-security"
 		if ( $CC -v 2>/dev/null | grep "gcc version" ); then
 			CFLAGS+=" -Wcast-align"
Signature · 1 line
2.20.1
#1 lore raw

Hi Ossama,

Quoted 7 lines · Ossama Othman

The "-Wvariadic-macros" compiler command line option was appended to the "CFALGS" variables instead of "CFLAGS", which prevented it from being used when building ELL. Change "CFALGS" to "CFLAGS".

---
  acinclude.m4 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Regards,
-Denis