@@ -741,7 +741,7 @@ my %targets = (
741741 inherit_from => [ " linux-generic32" , asm(" mips64_asm" ) ],
742742 cflags => add(" -mabi=n32" ),
743743 cxxflags => add(" -mabi=n32" ),
744- bn_ops => " SIXTY_FOUR_BIT RC4_CHAR" ,
744+ bn_ops => " RC4_CHAR" ,
745745 perlasm_scheme => " n32" ,
746746 multilib => " 32" ,
747747 },
@@ -1125,7 +1125,7 @@ my %targets = (
11251125 CFLAGS => picker(debug => " -O0 -g" ,
11261126 release => " -O" ),
11271127 cflags => add(threads(" -pthread" )),
1128- ex_libs => threads(" -pthread" ),
1128+ ex_libs => add( threads(" -pthread" ) ),
11291129 bn_ops => " BN_LLONG RC4_CHAR" ,
11301130 perlasm_scheme => " aix32" ,
11311131 shared_ldflag => add_before(" -shared -static-libgcc" ),
@@ -1138,7 +1138,7 @@ my %targets = (
11381138 CFLAGS => picker(debug => " -O0 -g" ,
11391139 release => " -O" ),
11401140 cflags => combine(" -maix64" , threads(" -pthread" )),
1141- ex_libs => threads(" -pthread" ),
1141+ ex_libs => add( threads(" -pthread" ) ),
11421142 bn_ops => " SIXTY_FOUR_BIT_LONG RC4_CHAR" ,
11431143 perlasm_scheme => " aix64" ,
11441144 shared_ldflag => add_before(" -shared -static-libgcc" ),
@@ -1154,7 +1154,7 @@ my %targets = (
11541154 cflags => combine(" -q32 -qmaxmem=16384 -qro -qroconst" ,
11551155 threads(" -qthreaded" )),
11561156 cppflags => threads(" -D_THREAD_SAFE" ),
1157- ex_libs => threads(" -lpthreads" ),
1157+ ex_libs => add( threads(" -lpthreads" ) ),
11581158 bn_ops => " BN_LLONG RC4_CHAR" ,
11591159 perlasm_scheme => " aix32" ,
11601160 shared_cflag => " -qpic" ,
@@ -1169,7 +1169,7 @@ my %targets = (
11691169 cflags => combine(" -q64 -qmaxmem=16384 -qro -qroconst" ,
11701170 threads(" -qthreaded" )),
11711171 cppflags => threads(" -D_THREAD_SAFE" ),
1172- ex_libs => threads(" -lpthreads" ),
1172+ ex_libs => add( threads(" -lpthreads" ) ),
11731173 bn_ops => " SIXTY_FOUR_BIT_LONG RC4_CHAR" ,
11741174 perlasm_scheme => " aix64" ,
11751175 dso_scheme => " dlfcn" ,
@@ -1365,9 +1365,9 @@ my %targets = (
13651365 }
13661366 push @ex_libs , ' $(PORTSDK_LIBPATH)/portlib.lib'
13671367 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 ) ;
13711371 }),
13721372 },
13731373
0 commit comments