jenkins: honor CFLAGS, fixes gpgme build on macos
authorJustus Winter <justus@g10code.com>
Thu, 12 Jan 2017 11:22:38 +0000 (12:22 +0100)
committerJustus Winter <justus@g10code.com>
Thu, 12 Jan 2017 11:22:38 +0000 (12:22 +0100)
misc/jenkins/bin/build.bash

index 4869979..84777c8 100755 (executable)
@@ -130,7 +130,9 @@ case "$XTARGET" in
     native)
         ../configure --prefix=$PREFIX --enable-maintainer-mode \
                   $CONFIGUREFLAGS \
-                  "$CONFIGUREFLAGS_0"
+                  "$CONFIGUREFLAGS_0" \
+                  CFLAGS="$CFLAGS" \
+                  CXXFLAGS="$CXXFLAGS -std=c++11"
         $MAKE $MAKEFLAGS
 
         $MAKE -k check verbose=2 || true