summaryrefslogtreecommitdiffstats
path: root/Configurations/50-djgpp.conf
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2018-01-08 12:28:08 +0100
committerRichard Levitte <levitte@openssl.org>2018-01-08 14:38:29 +0100
commit47eeaf45b510d056efcd5382550ed73e4d1af377 (patch)
treeeb7114d7c5d857f4d67c495e7c31113247d7e31f /Configurations/50-djgpp.conf
parentf720194cbc174806fe1ce9c349edd249d8076c02 (diff)
Separate general linking flags from extra libraries
So far, we've placed all extra library related flags together, ending up in the make variable EX_LIBS. This turns out to be problematic, as for example, some compilers don't quite agree with something like this: cc -o foo foo.o -L/whatever -lsomething They prefer this: cc -L/whatever -o foo foo.o -lsomething IBM's compiler on OS/390 is such a compiler that we know of, and we have previously handled that as a previous case. The answer here is to make a more general solution, where linking options are divided in two parts, where one ends up in LDFLAGS and the other in EX_LIBS (they corresponds to what is called LDFLAGS and LDLIBS in the GNU world) Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5033)
Diffstat (limited to 'Configurations/50-djgpp.conf')
-rw-r--r--Configurations/50-djgpp.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/50-djgpp.conf b/Configurations/50-djgpp.conf
index fa8e6625d8..b4d19e20ac 100644
--- a/Configurations/50-djgpp.conf
+++ b/Configurations/50-djgpp.conf
@@ -8,7 +8,8 @@ my %targets = (
cc => "gcc",
cflags => "-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall",
sys_id => "MSDOS",
- ex_libs => add("-L/dev/env/WATT_ROOT/lib -lwatt"),
+ lflags => add("-L/dev/env/WATT_ROOT/lib"),
+ ex_libs => add("-lwatt"),
bn_ops => "BN_LLONG",
perlasm_scheme => "a.out",
},