Fixed gcc-fat.sh failing to build Objective-C sources correctly.
This would fail if the compiler was given a .m file _and_ no "-o" option; it
would fail to automatically calculate the correct .o filename in this
situation.
Thanks to Ethan Lee for the help tracking this one down!
--- a/build-scripts/g++-fat.sh Sun Nov 09 14:20:53 2014 -0500
+++ b/build-scripts/g++-fat.sh Fri Nov 14 11:21:15 2014 -0500
@@ -34,7 +34,7 @@
compile=no; link=no;;
-c) link=no;;
-o) output=$2;;
- *.c|*.cc|*.cpp|*.S) source=$1;;
+ *.c|*.cc|*.cpp|*.S|*.m|*.mm) source=$1;;
esac
shift
done
--- a/build-scripts/gcc-fat.sh Sun Nov 09 14:20:53 2014 -0500
+++ b/build-scripts/gcc-fat.sh Fri Nov 14 11:21:15 2014 -0500
@@ -35,7 +35,7 @@
compile=no; link=no;;
-c) link=no;;
-o) output=$2;;
- *.c|*.cc|*.cpp|*.S) source=$1;;
+ *.c|*.cc|*.cpp|*.S|*.m|*.mm) source=$1;;
esac
shift
done