diff options
Diffstat (limited to 'cgcc')
| -rwxr-xr-x | cgcc | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -254,7 +254,8 @@ sub add_specs { } elsif ( $spec =~ /^cygwin/) { return &add_specs ('unix') . ' -fshort-wchar' . - ' -D__CYGWIN__=1 -D__CYGWIN32__=1' . + ' -D__CYGWIN__=1' . + ($m32 ? ' -D__CYGWIN32__=1' : '') . " -D'_cdecl=__attribute__((__cdecl__))'" . " -D'__cdecl=__attribute__((__cdecl__))'" . " -D'_stdcall=__attribute__((__stdcall__))'" . @@ -263,6 +264,7 @@ sub add_specs { " -D'__fastcall=__attribute__((__fastcall__))'" . " -D'__declspec(x)=__attribute__((x))'"; } elsif ($spec eq 'i386') { + $m32 = 1; return ( ' --arch=i386' . &float_types (1, 1, 21, [24,8], [53,11], [64,15])); |
