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>
This commit is contained in:
parent
92cad6008d
commit
9ba19df16a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user