summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-09-07 15:59:03 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-09-07 15:59:03 +0200
commitd4508e2f987687735f1eb76785ceec4e5c8ab131 (patch)
treec422e8634de5ce72dbc585fdbc9933608bd7c188
parent509bf1b17df4b4ab110d925d8f95272113aeaf19 (diff)
downloadkoffice-d4508e2f.tar.gz
koffice-d4508e2f.zip
Add OPENEXR_CXXFLAGS to resolve FTBFS.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--chalk/chalkcolor/Makefile.am2
-rw-r--r--chalk/colorspaces/rgb_f16half/Makefile.am2
-rw-r--r--chalk/core/Makefile.am1
3 files changed, 5 insertions, 0 deletions
diff --git a/chalk/chalkcolor/Makefile.am b/chalk/chalkcolor/Makefile.am
index ecffd0a4..1fee3836 100644
--- a/chalk/chalkcolor/Makefile.am
+++ b/chalk/chalkcolor/Makefile.am
@@ -6,6 +6,8 @@ INCLUDES = $(KOFFICE_INCLUDES) \
$(OPENEXR_CFLAGS) \
$(all_includes)
+CXXFLAGS += $(OPENEXR_CXXFLAGS)
+
lib_LTLIBRARIES = libchalkcolor.la
if have_openexr
diff --git a/chalk/colorspaces/rgb_f16half/Makefile.am b/chalk/colorspaces/rgb_f16half/Makefile.am
index 130c82aa..195197ba 100644
--- a/chalk/colorspaces/rgb_f16half/Makefile.am
+++ b/chalk/colorspaces/rgb_f16half/Makefile.am
@@ -9,6 +9,8 @@ INCLUDES = \
$(KOFFICE_INCLUDES) \
$(all_includes)
+CXXFLAGS += $(OPENEXR_CXXFLAGS)
+
lib_LTLIBRARIES = libchalk_rgb_f16half.la
libchalk_rgb_f16half_la_SOURCES = kis_rgb_f16half_colorspace.cc
diff --git a/chalk/core/Makefile.am b/chalk/core/Makefile.am
index e7dc8fb1..9370161a 100644
--- a/chalk/core/Makefile.am
+++ b/chalk/core/Makefile.am
@@ -9,6 +9,7 @@ INCLUDES = \
$(all_includes)
#CXXFLAGS = -shared -fPIC
+CXXFLAGS += $(OPENEXR_CXXFLAGS)
lib_LTLIBRARIES = libchalkimage.la