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:
2
external/libwebp/ExternalProject_libwebp.mk
vendored
2
external/libwebp/ExternalProject_libwebp.mk
vendored
@@ -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) \
|
||||
|
Reference in New Issue
Block a user