summaryrefslogtreecommitdiffstats
path: root/perl-install/c
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/c')
-rw-r--r--perl-install/c/Makefile.PL3
-rw-r--r--perl-install/c/stuff.xs.pl8
2 files changed, 2 insertions, 9 deletions
diff --git a/perl-install/c/Makefile.PL b/perl-install/c/Makefile.PL
index ea99f60bb..e364d7995 100644
--- a/perl-install/c/Makefile.PL
+++ b/perl-install/c/Makefile.PL
@@ -15,7 +15,8 @@ WriteMakefile(
'NAME' => 'stuff',
'OPTIMIZE' => '-Os',
'MAKEFILE' => 'Makefile_c',
- 'OBJECT' => "stuff.o " . (-e $pcmcia_probe_o && " $pcmcia_probe_o"),
+ 'OBJECT' => "stuff.o ",
+# 'OBJECT' => "stuff.o " . (-e $pcmcia_probe_o && " $pcmcia_probe_o"),
'VERSION_FROM' => 'stuff.pm', # finds $VERSION
'LIBS' => [$libs], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index cd2c6bf03..7afd69836 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -58,9 +58,6 @@ typedef __uint8_t u8;
#include <parted/parted.h>
';
-$Config{archname} =~ /i.86/ and print '
-char *pcmcia_probe(void);
-';
print '
@@ -108,11 +105,6 @@ MODULE = c::stuff PACKAGE = c::stuff
';
-$Config{archname} =~ /i.86/ and print '
-char *
-pcmcia_probe()
-';
-
print '
int
del_partition(hd, part_number)