Codebase list libcryptx-perl / a5206ef
tuning compiler flags Karel Miko 10 years ago
2 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
44 use Config;
55
66 my $flags = '-Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC';
7 #$flags .= ' -DLTC_NO_ASM';
87 #$flags .= ' -Wall';
98
10 unless ($ENV{CRYPTX_USE_ASM} || $Config{archname} =~ /MSWin32-x86/) {
11 $flags .= ' -DLTC_NO_ASM';
9 if (!$ENV{CRYPTX_USE_ASM} && $Config{archname} =~ /(x86_64-cygwin|MSWin32-x64)/) {
10 # $flags .= ' -DLTC_NO_ASM';
1211 }
1312
1413 my $class = Module::Build->subclass(
349349 /* #define LTC_MECC_FP */
350350
351351 /* Timing Resistant? */
352 /* #define LTC_ECC_TIMING_RESISTANT */
352 #define LTC_ECC_TIMING_RESISTANT
353353
354354 #endif /* LTC_NO_PK */
355355