summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-06 18:03:44 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-06 18:05:28 (EST)
commitc992d8f67d4e9794d70da0e9617db5d6944daee4 (patch)
tree20b6d98a70f914d11d61f7440571ad3e8eac2625 /src
parent36a536b814cebae2b63ad4eb1070d1167c519f1e (diff)
Support a -T option for a cross build target.
Diffstat (limited to 'src')
-rw-r--r--src/oh-autoconfigure.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/oh-autoconfigure.sh b/src/oh-autoconfigure.sh
index cef8e7f..7e28b3e 100644
--- a/src/oh-autoconfigure.sh
+++ b/src/oh-autoconfigure.sh
@@ -35,6 +35,9 @@ main()
B)
oh_set_buildsystem_option 'build-dir' "${OPTARG}"
;;
+ T)
+ oh_set_buildsystem_option 'target-arch' "${OPTARG}"
+ ;;
?)
ob_error "$(ob_get_msg 'bad_opt')"
exit 1