summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapkbuild-cpan.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in
index 792c736..96df111 100755
--- a/apkbuild-cpan.in
+++ b/apkbuild-cpan.in
@@ -174,6 +174,7 @@ EOF
$build_func = <<'EOF';
build() {
cd "$_builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test
}
EOF