ofz#68265 fix oss-fuzz build failure

Change-Id: I73087235d87253f4c8375fa0c0492c6258701571
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166827
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
This commit is contained in:
Caolán McNamara
2024-04-29 09:42:14 +01:00
parent a6d41c61da
commit f9fb7afe13

View File

@@ -41,7 +41,7 @@ ifeq ($(strip $(gb_COMPILEROPTFLAGS)),)
gb_COMPILEROPTFLAGS := -O2
endif
gb_COMPILEROPTFLAGS += $(HARDENING_OPT_CFLAGS)
gb_COMPILEROPTFLAGS += $(if $(ENABLE_HARDENING_FLAGS),$(HARDENING_OPT_CFLAGS))
gb_AFLAGS := $(AFLAGS)