depends: only use explicit CC for mingw32 in intel-ipsec-mb

The CC override in intel-ipsec-mb.mk fails for linux builds
when done in a docker container due to it inserting "pc" into
the host variable when not otherwise specified.

This fixes it by only overriding if we're building with mingw.
This commit is contained in:
Patrick Lodder 2022-09-26 19:44:09 +02:00
parent 4c31ab1240
commit 552a40a572
No known key found for this signature in database
GPG Key ID: 2D3A345B98D0DC1F

View File

@ -7,7 +7,7 @@ $(package)_patches=remove_digest_init.patch
$(package)_dependencies=native_nasm
define $(package)_set_vars
$(package)_build_opts=CC=$(host)-gcc
$(package)_build_opts_mingw32+=CC=$(host)-gcc
$(package)_build_opts+=LDFLAGS="-fstack-protector"
endef