summaryrefslogtreecommitdiff
path: root/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'make.sh')
-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