1 |
< |
# $MidnightBSD: src/usr.bin/perl/BSDmakefile,v 1.14 2011/10/19 20:45:33 laffer1 Exp $ |
1 |
> |
# $MidnightBSD: src/usr.bin/perl/BSDmakefile,v 1.15 2011/10/27 16:09:55 laffer1 Exp $ |
2 |
|
# |
3 |
|
# This makefile deals with binding perl's build system to our own. |
4 |
|
# It is called BSDmakefile because perl's configure makes a 'Makefile', |
30 |
|
.endif |
31 |
|
|
32 |
|
.if defined(TARGET_ARCH) |
33 |
– |
CONFIGURE_ARGS+= -Dtargetarch=${TARGET_ARCH} |
33 |
|
.if ${TARGET_ARCH} != ${MACHINE_ARCH} |
34 |
+ |
CONFIGURE_ARGS+= -Dtargetarch=${TARGET_ARCH} |
35 |
|
CONFIGURE_ARGS+= -Dusecrosscompile=true |
36 |
|
.endif |
37 |
|
.endif |