ogcc wrapper: don't append '-arch' when '-mXX' is already given through the invocation command

This commit is contained in:
Thomas Pöchtrager 2013-11-16 18:46:39 +01:00
parent 5a74122c92
commit 339712ba21

View File

@ -29,7 +29,7 @@ if [ $# -gt 0 ]; then
for p in "$@" for p in "$@"
do do
if [ "$p" == "-arch" ]; then if [ "$p" == "-arch" ] || [ "$p" == "-m32" ] || [ "$p" == "-m64" ]; then
ARCHGIVEN=1 ARCHGIVEN=1
break break
fi fi