summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2012-11-28 06:09:20 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-11-30 20:17:08 (GMT)
commit9ba19df16ab9da681c2e5be2f2c7693c24ed0d8d (patch)
treeb60698c524cd6be8283413fda3520c71b6cf47fb
parent92cad6008d6b6a18f09d77f6e4c08572967eb9f7 (diff)
downloadbuildroot-9ba19df16ab9da681c2e5be2f2c7693c24ed0d8d.tar.gz
buildroot-9ba19df16ab9da681c2e5be2f2c7693c24ed0d8d.tar.bz2
perl: fix configure step
Configure -A symbol=val generates a extra space in config.sh, which causes failure like this : Building Module-Runtime-0.013 Unknown OS type ' linux' - using default settings [Arnout: use -A define:foo instead of patching config.sh] Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/perl/perl.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index 0893eb5..391047d 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -55,14 +55,14 @@ PERL_CONF_OPT = \
--target-tools-prefix=$(TARGET_CROSS) \
--prefix=/usr \
-Dld="$(TARGET_CC_NOCCACHE)" \
- -A ccflags="$(TARGET_CFLAGS)" \
- -A ldflags="$(TARGET_LDFLAGS) -lm" \
- -A mydomain="" \
- -A myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
- -A myuname="Buildroot $(BR2_VERSION_FULL)" \
- -A osname=linux \
- -A osvers=$(LINUX_VERSION) \
- -A perladmin=root
+ -Dccflags="$(TARGET_CFLAGS)" \
+ -Dldflags="$(TARGET_LDFLAGS) -lm" \
+ -A define:mydomain="" \
+ -A define:myhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
+ -A define:myuname="Buildroot $(BR2_VERSION_FULL)" \
+ -A define:osname=linux \
+ -A define:osvers=$(LINUX_VERSION) \
+ -A define:perladmin=root
ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
PERL_CONF_OPT += -Dusedevel