libwebp is a C library, set CFLAGS and not CXXFLAGS

Change-Id: I79da4dcc61f50634dc8812dc5bf382053c170a9a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132817
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
Luboš Luňák
2022-04-11 13:17:13 +02:00
parent 846e57fd31
commit e97fc93876

View File

@@ -46,7 +46,7 @@ $(call gb_ExternalProject_get_state_target,libwebp,build) :
--disable-gif \
--disable-wic \
$(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
CXXFLAGS="$(gb_CXXFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
CFLAGS="$(gb_CFLAGS) $(if $(ENABLE_OPTIMIZED),$(gb_COMPILEROPTFLAGS),$(gb_COMPILERNOOPTFLAGS))" \
CPPFLAGS="$(CPPFLAGS) $(BOOST_CPPFLAGS)" \
$(gb_CONFIGURE_PLATFORMS) \
&& $(MAKE) \