summaryrefslogtreecommitdiff
path: root/odk/build-examples_common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'odk/build-examples_common.mk')
-rw-r--r--odk/build-examples_common.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk
index 08b8d5e3c231..e8836f6242fb 100644
--- a/odk/build-examples_common.mk
+++ b/odk/build-examples_common.mk
@@ -47,7 +47,7 @@ else
$(foreach my_dir,$(2), \
&& (cd $(INSTDIR)/$(SDKDIRNAME)/examples/$(my_dir) \
&& printf 'yes\n' | LC_ALL=C make -j1 \
- CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \
+ CC="$(CXX) $(gb_CXX03FLAGS)" LINK="$(CXX)" LIB="$(CXX)" \
$(if $(MACOSX_SHELL_HACK), SHELL="$$$$ODK_BUILD_SHELL", ))) \
$(if $(MACOSX_SHELL_HACK),&& rm -f "$$$$ODK_BUILD_SHELL")) \
>$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \