From e04bd7368a2fc9f6ffa8f3a14194cb1577290f75 Mon Sep 17 00:00:00 2001 From: Marcel Denia Date: Mon, 21 Jul 2014 03:25:55 +0200 Subject: [PATCH] lang/perl: Override CCFLAGS configuration symbol in perlmod This makes external perl modules compile their native code with the correct CFLAGS, not with the one host-perl is using. Signed-off-by: Marcel Denia --- lang/perl/perlmod.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/perl/perlmod.mk b/lang/perl/perlmod.mk index ab2f4feda..09d2f465a 100644 --- a/lang/perl/perlmod.mk +++ b/lang/perl/perlmod.mk @@ -20,6 +20,7 @@ define perlmod/Configure $(1) \ AR=ar \ CC=$(GNU_TARGET_NAME)-gcc \ + CCFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS)" \ CCCDLFLAGS=-fPIC \ CCDLFLAGS=-Wl,-E \ DLEXT=so \