force cross compile flags for gpg (#299)

This commit is contained in:
Trammell hudson 2018-02-06 11:13:20 -05:00
parent 2f879be221
commit db35de4e48
Failed to extract signature

View File

@ -13,9 +13,14 @@ gpg_hash := 6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
# be generated with the correct paths, but then re-write them when
# we use the install target so that they will be copied to the correct
# location.
#
# Force a different host/build setting so that it detects a cross compile.
# Otherwise it wil try to run tests.
#
gpg_configure := ./configure \
$(CROSS_TOOLS) \
--host i386-elf-linux \
--build i386-elf-linux \
--host x86_64-linux-musl \
--with-libusb="$(INSTALL)" \
--prefix "/" \
--enable-card-support \