perl: refactor configure step
After discussion with Perl-Cross's author (Alex Suykov) Note: Using -A with variables that aren't option lists makes little sense. Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6cd4b20e4a
commit
efddfcbe6d
@ -57,12 +57,12 @@ PERL_CONF_OPT = \
|
||||
-Dld="$(TARGET_CC_NOCCACHE)" \
|
||||
-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
|
||||
-Dmydomain="" \
|
||||
-Dmyhostname="$(BR2_TARGET_GENERIC_HOSTNAME)" \
|
||||
-Dmyuname="Buildroot $(BR2_VERSION_FULL)" \
|
||||
-Dosname=linux \
|
||||
-Dosvers=$(LINUX_VERSION) \
|
||||
-Dperladmin=root
|
||||
|
||||
ifeq ($(shell expr $(PERL_VERSION_MAJOR) % 2), 1)
|
||||
PERL_CONF_OPT += -Dusedevel
|
||||
|
Loading…
Reference in New Issue
Block a user