[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49025] [PATCH v4 core-updates 22/36] openssl: Extract logic for com
[bug#49025] [PATCH v4 core-updates 22/36] openssl: Extract logic for computing CONFIGURE_TARGET_ARCH.
Sat, 03 Jul 2021 17:47:43 +0200
Maxime Devos schreef op za 19-06-2021 om 17:04 [+0200]:
> By computing this value outside the build code, new targets
> can be added without causing rebuilds for other targets.
> +(define (target->openssl-target target)
> + "Return the value to set CONFIGURE_TARGET_ARCH to when cross-compiling
> +OpenSSL for TARGET."
> + ;; Keep this code outside the build code,
> + ;; such that new targets can be added
> + ;; without causing rebuilds for other targets.
> + (cond ((string-prefix? "i586" target)
> + "hurd-x86")
For example, this should really be
(and (hurd-target? target) (target-x86?)) (or was it x86-32?),
such that i686-pc-gnu would be recognised as a hurd-x86 target,
aarch64-pc-gnu isn't (ok the Hurd doesn't support aarch64),
and i586-linux-gnu would be recognised as GNU/Linux, not GNU/Hurd?
> + ((string-prefix? "i686" target)
> + "linux-x86") [...]
Similar reasoning as above.
This can be fixed later though (without going through any rebuilds
for supported triplets).
Description: This is a digitally signed message part
|[Prev in Thread]
||[Next in Thread]|
- [bug#49025] [PATCH v4 core-updates 22/36] openssl: Extract logic for computing CONFIGURE_TARGET_ARCH.,
Maxime Devos <=