[Libreoffice-commits] .: solenv/gbuild

Caolán McNamara caolan at kemper.freedesktop.org
Mon Apr 4 03:01:19 PDT 2011


 solenv/gbuild/platform/unxgcc.mk |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 11073befa3520dfd55c5bd09a9571a10ffca2c18
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sun Apr 3 21:34:42 2011 +0100

    restore c++0x flags

diff --git a/solenv/gbuild/platform/unxgcc.mk b/solenv/gbuild/platform/unxgcc.mk
index e52684f..b25101d 100755
--- a/solenv/gbuild/platform/unxgcc.mk
+++ b/solenv/gbuild/platform/unxgcc.mk
@@ -102,6 +102,10 @@ gb_CFLAGS_WERROR := -Werror
 gb_CXXFLAGS_WERROR := -Werror
 endif
 
+ifeq ($(HAVE_CXX0X),TRUE)
+gb_CXXFLAGS += -std=c++0x -Wno-deprecated-declarations
+endif
+
 ifneq ($(strip $(SYSBASE)),)
 gb_CXXFLAGS += --sysroot=$(SYSBASE)
 gb_CFLAGS += --sysroot=$(SYSBASE)


More information about the Libreoffice-commits mailing list