package/zic: fix host compile (needs CC/HOST_CONFIGURE_OPTS set)

zic needs CC defined since version bump to 2024a, and upstream commit
c3ebd8e98846 (make Makefile more compatible with POSIX).

Use HOST_CONFIGURE_OPTS which contains the appropriate host CC setting,
as well as our host CFLAGS and LDFLAGS.

Fixes:

  c99 -O1   -c -o zic.o zic.c
  make[2]: c99: No such file or directory

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr: reword commit log, refer to upstream commit]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Peter Seiderer 2024-04-01 13:24:21 +02:00 committed by Yann E. MORIN
parent b5680f53d6
commit 9139159d39

View File

@ -12,7 +12,7 @@ ZIC_LICENSE = Public domain
ZIC_LICENSE_FILES = LICENSE
define HOST_ZIC_BUILD_CMDS
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) zic
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) zic
endef
define HOST_ZIC_INSTALL_CMDS