summaryrefslogtreecommitdiffstats
path: root/odk
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-01-29 14:38:06 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2019-01-30 20:35:21 +0100
commitb8dbfe00e8541a8ecd98a4d336b4d5844ecb9620 (patch)
tree955a60e39d53e8989e4cd85007b2c8cbd7556c38 /odk
parenttdf#122752 gtk3_kde5: Use non-native fpicker for non-Plasma desktops (diff)
downloadcore-b8dbfe00e8541a8ecd98a4d336b4d5844ecb9620.tar.gz
core-b8dbfe00e8541a8ecd98a4d336b4d5844ecb9620.zip
odk: CustomTarget_build-examples hard-codes on "gcc" and "g++"
... so it fails if these aren't available; instead use the C++ compiler of the LO build system. Change-Id: I8a95d1865c481dc0a790d6fec6ff9fae8284d76d Reviewed-on: https://gerrit.libreoffice.org/67078 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins (cherry picked from commit b05484224df74709edf654901d1da299c168e344) Reviewed-on: https://gerrit.libreoffice.org/67112 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'odk')
-rw-r--r--odk/build-examples_common.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk
index 931d6eea856e..4d7d645ed40a 100644
--- a/odk/build-examples_common.mk
+++ b/odk/build-examples_common.mk
@@ -31,6 +31,7 @@ endif
$(foreach my_dir,$(2), \
&& (cd $(INSTDIR)/$(SDKDIRNAME)/examples/$(my_dir) \
&& printf 'yes\n' | LC_ALL=C make \
+ CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \
$(if $(filter MACOSX,$(OS)), SHELL=$(ODK_BUILD_SHELL), )))) \
>$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \
|| (RET=$$$$? \