Fix typo in M4 Cxx flags macro
authorFaustino E. Osuna <enrique.osuna@gmail.com>
Mon, 2 Jan 2012 13:30:48 +0000 (14:30 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 2 Jan 2012 16:01:22 +0000 (17:01 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit c1df08645f506aff78b0aaab1609380d78b2551c)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
m4/flags.m4

index e5def0b..920fd45 100644 (file)
@@ -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])
 ])