aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2005-11-27 22:12:39 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-27 22:12:39 +0800
commit6c86554eba317d7fcf518c02f3749cc727ec0ddd (patch)
tree4c6cc6292fdf08aa09ef2ed359189cc0c552e047
parentc9fb45080ff2e2d45a7049c0b1ff8705f97f7dc2 (diff)
downloadgsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar.gz
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar.bz2
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar.lz
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar.xz
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.tar.zst
gsoc2013-epiphany-6c86554eba317d7fcf518c02f3749cc727ec0ddd.zip
Fix CXXFLAGS restore for XPCOM component test
-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)"