tuning compiler flags
Karel Miko
10 years ago
4 | 4 | use Config; |
5 | 5 | |
6 | 6 | my $flags = '-Isrc/ltc/headers -Isrc/ltm -DLTC_SOURCE -DLTC_NO_TEST -DLTC_NO_PROTOTYPES -DLTM_DESC'; |
7 | #$flags .= ' -DLTC_NO_ASM'; | |
8 | 7 | #$flags .= ' -Wall'; |
9 | 8 | |
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'; | |
12 | 11 | } |
13 | 12 | |
14 | 13 | my $class = Module::Build->subclass( |