openssl: use --cross-compile-prefix in Configure
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Sat, 28 Nov 2020 21:06:33 +0000 (18:06 -0300)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 6 Dec 2020 17:32:14 +0000 (18:32 +0100)
commit2f75348923e564f1b73fbc32f7cabc355cd6e2b9
tree2dea36c5a026aebb2e108e3714c454871388ab73
parent61ef5940f2eafa2a883d35af3bbf4622722c2fbc
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>
package/libs/openssl/Makefile