RFR: 8257913: Add more known library locations to simplify Linux cross-compilation
Aleksey Shipilev
shade at openjdk.java.net
Fri Mar 5 07:09:41 UTC 2021
On Thu, 4 Mar 2021 19:34:16 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
>> make/autoconf/lib-freetype.m4 line 201:
>>
>>> 199: if test "x$FOUND_FREETYPE" != "xyes" ; then
>>> 200: LIB_CHECK_POTENTIAL_FREETYPE([$FREETYPE_BASE_DIR/include],
>>> 201: [$FREETYPE_BASE_DIR/lib/$OPENJDK_TARGET_CPU-linux-gnueabihf], [well-known location])
>>
>> Do we really need to explicitly list all the gnu* variants here? Isn't the subdir simply the value of openjdk-target? At least it looks that way in the submit.yml.
>
> I think that value should be accessible from OPENJDK_TARGET_AUTOCONF_NAME.
Unfortunately, AUTOCONF_NAME is a quadruplet. For example, for ARM `OPENJDK_TARGET_AUTOCONF_NAME` is `arm-unknown-linux-gnueabihf`, but the subdirectory is `arm-linux-gnueabihf`. I don't see how can I get the original `--openjdk-target` provided by user here. Seems to me it is not passed to autoconf?
-------------
PR: https://git.openjdk.java.net/jdk/pull/2833
More information about the build-dev
mailing list