aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/gecko.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/gecko.m4 b/m4/gecko.m4
index 4454e6084..130ceb391 100644
--- a/m4/gecko.m4
+++ b/m4/gecko.m4
@@ -196,7 +196,7 @@ gecko_cv_xpcom_contractid_[]$1[]=no
AC_LANG_PUSH([C++])
_SAVE_CPPFLAGS="$CPPFLAGS"
-_SAVE_CXXFLAGS="$CFLAGS"
+_SAVE_CXXFLAGS="$CXXFLAGS"
_SAVE_LDFLAGS="$LDFLAGS"
CPPFLAGS="$CPPFLAGS -I$_GECKO_INCLUDE_ROOT $($PKG_CONFIG --cflags-only-I $_GECKO-xpcom)"
CXXFLAGS="$CXXFLAGS $($PKG_CONFIG --cflags-only-other $_GECKO-xpcom)"