diff options
author | joerg <joerg@pkgsrc.org> | 2009-09-12 00:52:45 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-09-12 00:52:45 +0000 |
commit | fc2fd442447c19b942bf8ca64b2e38e191ffbf67 (patch) | |
tree | 005927f886bdb8952cdd015e99935e427cbe8f81 | |
parent | 648d87edcd20b620b7d55ea2e4c8ca964ac44ada (diff) | |
download | pkgsrc-fc2fd442447c19b942bf8ca64b2e38e191ffbf67.tar.gz |
Always set both --host and --build, a number of programs want to use
a cross-compile like environment otherwise.
-rw-r--r-- | mk/configure/gnu-configure.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/configure/gnu-configure.mk b/mk/configure/gnu-configure.mk index 72547441a8c..ccade7315c3 100644 --- a/mk/configure/gnu-configure.mk +++ b/mk/configure/gnu-configure.mk @@ -1,4 +1,4 @@ -# $NetBSD: gnu-configure.mk,v 1.8 2008/11/29 12:29:35 rillig Exp $ +# $NetBSD: gnu-configure.mk,v 1.9 2009/09/12 00:52:45 joerg Exp $ _VARGROUPS+= gnu-configure _USER_VARS.gnu-configure= # none @@ -28,6 +28,8 @@ USE_GNU_CONFIGURE_HOST?= yes .if !empty(USE_GNU_CONFIGURE_HOST:M[yY][eE][sS]) . if !empty(USE_CROSS_COMPILE:M[yY][eE][sS]) CONFIGURE_ARGS+= --build=${NATIVE_MACHINE_GNU_PLATFORM:Q} +. else +CONFIGURE_ARGS+= --build=${MACHINE_GNU_PLATFORM:Q} . endif CONFIGURE_ARGS+= --host=${MACHINE_GNU_PLATFORM:Q} .endif |