summaryrefslogtreecommitdiff
path: root/inc/MakeMaker.pm
diff options
context:
space:
mode:
Diffstat (limited to 'inc/MakeMaker.pm')
-rw-r--r--inc/MakeMaker.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/MakeMaker.pm b/inc/MakeMaker.pm
index a4eaf210..6b4ab7fc 100644
--- a/inc/MakeMaker.pm
+++ b/inc/MakeMaker.pm
@@ -229,7 +229,10 @@ if ($is_gcc) {
# building with a 32-bit perl on a 64-bit OS may require this (supported by cc and gcc-like compilers,
# excluding some ARM toolchains)
if ($Config{ptrsize} == 4 && $Config{archname} !~ /arm/) {
- $ccflags .= ' -m32';
+ # ccflags.='-m32' removed since Debian does not need
+ # this on 64 bit arches, and the presence of the option
+ # makes the build fail on 32 bit arches
+ $ccflags .= '';
}
} elsif ($is_sunpro) {
# probably the SunPro compiler, (try to) enable C99 support