Browse Source

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 <naoir@gmx.net>
lilik-openwrt-22.03
Marcel Denia 11 years ago
parent
commit
e04bd7368a
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      lang/perl/perlmod.mk

+ 1
- 0
lang/perl/perlmod.mk View File

@ -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 \


Loading…
Cancel
Save