From 339712ba2190a075b4fe096265866943a974cac6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20P=C3=B6chtrager?= Date: Sat, 16 Nov 2013 18:46:39 +0100 Subject: [PATCH] ogcc wrapper: don't append '-arch' when '-mXX' is already given through the invocation command --- ogcc/ogcc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogcc/ogcc b/ogcc/ogcc index e3e3cf5..bd7641a 100755 --- a/ogcc/ogcc +++ b/ogcc/ogcc @@ -29,7 +29,7 @@ if [ $# -gt 0 ]; then for p in "$@" do - if [ "$p" == "-arch" ]; then + if [ "$p" == "-arch" ] || [ "$p" == "-m32" ] || [ "$p" == "-m64" ]; then ARCHGIVEN=1 break fi