summaryrefslogtreecommitdiff
path: root/external/libwps
diff options
context:
space:
mode:
Diffstat (limited to 'external/libwps')
-rw-r--r--external/libwps/ExternalProject_libwps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/external/libwps/ExternalProject_libwps.mk b/external/libwps/ExternalProject_libwps.mk
index caf2c3d354f1..2fb91ee59b1a 100644
--- a/external/libwps/ExternalProject_libwps.mk
+++ b/external/libwps/ExternalProject_libwps.mk
@@ -21,7 +21,7 @@ $(eval $(call gb_ExternalProject_use_externals,libwps,\
libwps_CPPFLAGS+=$(gb_COMPILERDEFS_STDLIB_DEBUG)
-libwps_CXXFLAGS=$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))
+libwps_CXXFLAGS=$(gb_CXXFLAGS) $(call gb_ExternalProject_get_build_flags,libwps)
libwps_LDFLAGS=
ifeq ($(OS),LINUX)