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). Greetings, Maxime.