[vlc-devel] [PATCH] update M4 C++ flags macros
Faustino E. Osuna
enrique.osuna at gmail.com
Sun Jan 1 19:40:39 CET 2012
Restore CXXFLAGS variable instead of CFLAGS variable when testing for
CXX flags.
---
m4/flags.m4 | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/m4/flags.m4 b/m4/flags.m4
index e5def0b..920fd45 100644
--- a/m4/flags.m4
+++ b/m4/flags.m4
@@ -51,7 +51,7 @@ AC_DEFUN([RDC_PROG_CXX_FLAGS_IFELSE],
])
ac_res=`eval echo '${'$as_ac_var'}'`
- CFLAGS="${CFLAGS_save}"
+ CXXFLAGS="${CXXFLAGS_save}"
AS_IF([test "${ac_res}" != "no"], [$2], [$3])
])
--
1.7.7.4
More information about the vlc-devel
mailing list