summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2014-05-13 10:39:52 +0000
committerJay Freeman <saurik@saurik.com>2014-05-13 10:39:52 +0000
commit1b3668c6fe387c51062e85ec020271d72db02e6b (patch)
tree2183f0655a551a80c6ea734d3d01133ee9057d8a
parente78268a1ea4036d4690f2c69c3d9af162bb1bf2c (diff)
Also use -mthumb when compiling C++ code.
git-svn-id: http://svn.telesphoreo.org/trunk@785 514c082c-b64e-11dc-b46d-3d985efe055d
-rwxr-xr-xmake.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.sh b/make.sh
index 50f328655..9bfe1500f 100755
--- a/make.sh
+++ b/make.sh
@@ -139,7 +139,7 @@ function pkg:configure() {
export -f pkg:configure
function pkg:make() {
- make CC="${PKG_TARG}-gcc" AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb -fno-common' "$@"
+ make CC="${PKG_TARG}-gcc" AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb -fno-common' CXXFLAGS='-O2 -mthumb' "$@"
}
export -f pkg:make