diff options
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) |