Skip to content
Snippets Groups Projects
Commit 014544bc authored by Kiyoshi Aman's avatar Kiyoshi Aman
Browse files

apkbuild-cpan: XS modules using Module::Build now obtain Perl CFLAGS properly.

parent f5a3a48d
No related branches found
No related tags found
No related merge requests found
...@@ -174,6 +174,7 @@ EOF ...@@ -174,6 +174,7 @@ EOF
$build_func = <<'EOF'; $build_func = <<'EOF';
build() { build() {
cd "$_builddir" cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
./Build && ./Build test ./Build && ./Build test
} }
EOF EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment