diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-05-04 14:55:53 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-05-04 14:55:53 +0200 |
commit | 30e2c174851055642ae6d035c176d1e9b58aff2e (patch) | |
tree | 5ac36633fd84ed26c1ad5515e1b39dbe279766f9 /cpp | |
parent | Fixed typo for icestormdb (diff) | |
download | ice-30e2c174851055642ae6d035c176d1e9b58aff2e.tar.bz2 ice-30e2c174851055642ae6d035c176d1e9b58aff2e.tar.xz ice-30e2c174851055642ae6d035c176d1e9b58aff2e.zip |
Fixed for Amzn Linux/SLES
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/config/Make.rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/config/Make.rules b/cpp/config/Make.rules index 0a2290f8ace..09c733bf1a0 100644 --- a/cpp/config/Make.rules +++ b/cpp/config/Make.rules @@ -88,7 +88,9 @@ endif # the cpp11 name to the target directory if building outside the build # directory. # -cpp11_cppflags = -DICE_CPP11_MAPPING -std=c++11 +# We compile IceBT with gnu++11 for GNU extensions required by BlueZ. +# +cpp11_cppflags = -DICE_CPP11_MAPPING -std=$(if $(filter IceBT,$1),gnu++11,c++11) cpp11_targetname = $(if $(filter-out %/build,$($1_targetdir)),++11) cpp11_targetdir = $(if $(filter %/build,$($1_targetdir)),cpp11) |