openssl: use --cross-compile-prefix in Configure
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 26 Aug 2021 17:38:06 +0000 (14:38 -0300)
committerPetr Štetiar <ynezz@true.cz>
Mon, 30 Aug 2021 15:15:37 +0000 (17:15 +0200)
commit40c03b101cf40af4a6f6e1efb4731edabfe88ea9
tree66907e99434509097bae27fac947a4b76a27f904
parent9d082556fecfe2e971f964ebcd6b13fe30d208af
openssl: use --cross-compile-prefix in Configure

This sets the --cross-compile-prefix option when running Configure, so
that that it will not use the host gcc to figure out, among other
things, compiler defines.  It avoids errors, if the host 'gcc' is
handled by clang:

mips-openwrt-linux-musl-gcc: error: unrecognized command-line option
'-Qunused-arguments'

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Tested-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 2f75348923e564f1b73fbc32f7cabc355cd6e2b9)
package/libs/openssl/Makefile