diff options
author | sketch <sketch@pkgsrc.org> | 2008-06-17 11:38:52 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2008-06-17 11:38:52 +0000 |
commit | 7465f6ce7648066abda68fc8dc184523c1bc32f5 (patch) | |
tree | 917b2625bd9c49e9f0bd2f8cf8a59528d2874a5b /bootstrap | |
parent | a0c131c7aabde014a23f456df6d54b23e939df8a (diff) | |
download | pkgsrc-7465f6ce7648066abda68fc8dc184523c1bc32f5.tar.gz |
Add --abi to set $ABI correctly, avoids the need for CFLAGS hacks.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap/bootstrap | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootstrap/bootstrap b/bootstrap/bootstrap index 4ffcd9a3153..fa53cb19dab 100755 --- a/bootstrap/bootstrap +++ b/bootstrap/bootstrap @@ -1,6 +1,6 @@ #! /bin/sh -# $NetBSD: bootstrap,v 1.128 2008/06/11 12:47:07 sketch Exp $ +# $NetBSD: bootstrap,v 1.129 2008/06/17 11:38:52 sketch Exp $ # # # Copyright (c) 2001-2002 Alistair G. Crooks. All rights reserved. @@ -70,6 +70,7 @@ usage="Usage: $0 "' [ --unprivileged | --ignore-user-check ] [ --preserve-path ] [ --compiler <compiler> ] + [ --abi [32|64] ] [ --mk-fragment <mk.conf> ] [ --binary-kit <tarball> ] [ --gzip-binary-kit <tarball> ] @@ -369,6 +370,8 @@ while [ $# -gt 0 ]; do --fetch-cmd) fetch_cmd="$2"; shift ;; --compiler=*) compiler=`get_optarg "$1"` ;; --compiler) compiler="$2"; shift ;; + --abi=*) abi=`get_optarg "$1"` ;; + --abi) abi="$2"; shift ;; --ignore-case-check) ignorecasecheck=yes ;; --unprivileged | --ignore-user-check) unprivileged=yes ;; --preserve-path) preserve_path=yes ;; |