projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8698a
)
lang/perl: Override CCFLAGS configuration symbol in perlmod
author
Marcel Denia
<naoir@gmx.net>
Mon, 21 Jul 2014 01:25:55 +0000
(
03:25
+0200)
committer
Marcel Denia
<naoir@gmx.net>
Mon, 21 Jul 2014 01:29:17 +0000
(
03:29
+0200)
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>
lang/perl/perlmod.mk
patch
|
blob
|
history
diff --git
a/lang/perl/perlmod.mk
b/lang/perl/perlmod.mk
index ab2f4fedaad015f24f79937b4ce28b19fd234df9..09d2f465acc01bd161d9158abfdbf8fb12a433b1 100644
(file)
--- 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 \