[arch-commits] Commit in open-vm-tools/trunk (PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Sun Nov 1 12:37:10 UTC 2015


    Date: Sunday, November 1, 2015 @ 13:37:10
  Author: foutrelis
Revision: 145433

Build in C++11 mode (necessitated by glibmm 2.46)

Modified:
  open-vm-tools/trunk/PKGBUILD

----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-11-01 12:05:28 UTC (rev 145432)
+++ PKGBUILD	2015-11-01 12:37:10 UTC (rev 145433)
@@ -36,12 +36,15 @@
 
 prepare() {
   cd "$srcdir/$pkgname-"*"/open-vm-tools"
-  autoreconf
-  automake
+  autoreconf -vi
 }
 
 build() {
   cd "$srcdir/$pkgname-"*"/open-vm-tools"
+
+  # glibmm 2.46 uses C++11 features
+  CXXFLAGS+=' -std=gnu++11'
+
   sh ./configure --prefix=/usr \
     --sbindir=/usr/bin \
     --without-xmlsecurity \



More information about the arch-commits mailing list