From 5696cafa6e4a0eb314a5f2e986d383e7624a876a Mon Sep 17 00:00:00 2001 From: Andre Anjos <andre.anjos@idiap.ch> Date: Tue, 24 Jan 2017 15:13:54 +0100 Subject: [PATCH] In OSX, set -DBOOST_NO_CXX11_RVALUE_REFERENCES --- gitlab/functions.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitlab/functions.sh b/gitlab/functions.sh index 2caa1f4..6a9b28f 100644 --- a/gitlab/functions.sh +++ b/gitlab/functions.sh @@ -302,4 +302,10 @@ fi if [ "${OSNAME}" == "macosx" ]; then MACOSX_DEPLOYMENT_TARGET="10.7" export_env MACOSX_DEPLOYMENT_TARGET + if [ -n "${CPPFLAGS}" ]; then + CPPFLAGS="${CPPFLAGS} -DBOOST_NO_CXX11_RVALUE_REFERENCES" + else + CPPFLAGS="-DBOOST_NO_CXX11_RVALUE_REFERENCES" + fi + export_env CPPFLAGS fi -- GitLab