summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2020-09-07 15:59:03 +0200
committerSlávek Banko <[email protected]>2020-09-07 15:59:18 +0200
commitf86d4eb9c2d062798a977a5659001410ad5ca017 (patch)
treea4e251346320967ae0a9224ee17cdf670759ebef
parent059426c4315d4d5c7c79f4fea38863148507a3de (diff)
downloadkoffice-f86d4eb9c2d062798a977a5659001410ad5ca017.tar.gz
koffice-f86d4eb9c2d062798a977a5659001410ad5ca017.zip
Add OPENEXR_CXXFLAGS to resolve FTBFS.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit d4508e2f987687735f1eb76785ceec4e5c8ab131)
-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 52d6b338..e8667a2b 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 52a94e3d..5ff88e68 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 ca7829f8..39b59372 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