use the configured build flags for the zxcvbn-c dictionary generator

every other external gets them, so this one was compiled without
optimisation and it gets used at build time so the lack of optimization
becomes noticable during e.g. our ios build

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ibff6ceaa48ed755747520d0ea90168973b49bbce
Reviewed-on: https://gerrit.collaboraoffice.com/c/online/+/12179
Tested-by: Jenkins CPCI <releng@collaboraoffice.com>
Reviewed-by: Noel Grandin <noel.grandin@collabora.com>
(cherry picked from commit 8669880f56f6afe92cdc209e3748ea28c27d79e5)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211019
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
This commit is contained in:
Caolán McNamara
2026-09-17 09:02:23 +02:00
committed by Xisco Fauli
parent e8e4c0a88f
commit d4077c560b
+2 -2
View File
@@ -27,8 +27,8 @@ $(call gb_ExternalProject_get_state_target,zxcvbn-c,generate-dictionary-nodes):
,\
$(MAKE) dict-src.h \
AR="$(gb_AR)" \
CFLAGS="$(gb_CFLAGS)" \
CXXFLAGS="$(gb_CXXFLAGS)" \
CFLAGS="$(gb_CFLAGS) $(call gb_ExternalProject_get_build_flags,zxcvbn-c)" \
CXXFLAGS="$(gb_CXXFLAGS) $(call gb_ExternalProject_get_build_flags,zxcvbn-c)" \
$(if $(filter MSC,$(COM)),$(gb_AUTOCONF_WRAPPERS) )\
)\
)