@@ -741,7 +741,7 @@ my %targets = (
741
741
inherit_from => [ " linux-generic32" , asm(" mips64_asm" ) ],
742
742
cflags => add(" -mabi=n32" ),
743
743
cxxflags => add(" -mabi=n32" ),
744
- bn_ops => " SIXTY_FOUR_BIT RC4_CHAR" ,
744
+ bn_ops => " RC4_CHAR" ,
745
745
perlasm_scheme => " n32" ,
746
746
multilib => " 32" ,
747
747
},
@@ -1125,7 +1125,7 @@ my %targets = (
1125
1125
CFLAGS => picker(debug => " -O0 -g" ,
1126
1126
release => " -O" ),
1127
1127
cflags => add(threads(" -pthread" )),
1128
- ex_libs => threads(" -pthread" ),
1128
+ ex_libs => add( threads(" -pthread" ) ),
1129
1129
bn_ops => " BN_LLONG RC4_CHAR" ,
1130
1130
perlasm_scheme => " aix32" ,
1131
1131
shared_ldflag => add_before(" -shared -static-libgcc" ),
@@ -1138,7 +1138,7 @@ my %targets = (
1138
1138
CFLAGS => picker(debug => " -O0 -g" ,
1139
1139
release => " -O" ),
1140
1140
cflags => combine(" -maix64" , threads(" -pthread" )),
1141
- ex_libs => threads(" -pthread" ),
1141
+ ex_libs => add( threads(" -pthread" ) ),
1142
1142
bn_ops => " SIXTY_FOUR_BIT_LONG RC4_CHAR" ,
1143
1143
perlasm_scheme => " aix64" ,
1144
1144
shared_ldflag => add_before(" -shared -static-libgcc" ),
@@ -1154,7 +1154,7 @@ my %targets = (
1154
1154
cflags => combine(" -q32 -qmaxmem=16384 -qro -qroconst" ,
1155
1155
threads(" -qthreaded" )),
1156
1156
cppflags => threads(" -D_THREAD_SAFE" ),
1157
- ex_libs => threads(" -lpthreads" ),
1157
+ ex_libs => add( threads(" -lpthreads" ) ),
1158
1158
bn_ops => " BN_LLONG RC4_CHAR" ,
1159
1159
perlasm_scheme => " aix32" ,
1160
1160
shared_cflag => " -qpic" ,
@@ -1169,7 +1169,7 @@ my %targets = (
1169
1169
cflags => combine(" -q64 -qmaxmem=16384 -qro -qroconst" ,
1170
1170
threads(" -qthreaded" )),
1171
1171
cppflags => threads(" -D_THREAD_SAFE" ),
1172
- ex_libs => threads(" -lpthreads" ),
1172
+ ex_libs => add( threads(" -lpthreads" ) ),
1173
1173
bn_ops => " SIXTY_FOUR_BIT_LONG RC4_CHAR" ,
1174
1174
perlasm_scheme => " aix64" ,
1175
1175
dso_scheme => " dlfcn" ,
@@ -1365,9 +1365,9 @@ my %targets = (
1365
1365
}
1366
1366
push @ex_libs , ' $(PORTSDK_LIBPATH)/portlib.lib'
1367
1367
if (defined (env(' PORTSDK_LIBPATH' )));
1368
- push @ex_libs , ' /nodefaultlib coredll.lib corelibc.lib'
1369
- if (env(' TARGETCPU' ) eq " X86" );
1370
- return @ex_libs ;
1368
+ push @ex_libs , ' /nodefaultlib coredll.lib corelibc.lib'
1369
+ if (env(' TARGETCPU' ) =~ / ^ X86|^ARMV4[IT] / );
1370
+ return join ( " " , @ex_libs ) ;
1371
1371
}),
1372
1372
},
1373
1373
0 commit comments