djgpp: Inherit config from BASE_unix
authorJ.W. Jagersma <jwjagersma@gmail.com>
Sun, 25 Sep 2022 16:58:13 +0000 (18:58 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 29 Sep 2022 10:03:58 +0000 (12:03 +0200)
Build failed on djgpp due to missing config vars 'AR' and 'ARFLAGS'.
Additionally, '-lz' was not added to 'lflags' when zlib support was
enabled.  Inheriting configuration variables from BASE_unix solves both
these issues.

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19274)

(cherry picked from commit 29d82bd95b6ef3428c7e776221612a083994219d)

Configurations/50-djgpp.conf

index 16888924d602abb7176928a963eecd0a50f5e6e5..fbe4911c420d68307940d9cc0ceda7857383b8a3 100644 (file)
@@ -4,6 +4,7 @@
 
 my %targets = (
     "DJGPP" => {
+        inherit_from     => [ "BASE_unix" ],
         CC               => "gcc",
         CFLAGS           => "-fomit-frame-pointer -O2 -Wall",
         cflags           => "-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN",