diff options
Diffstat (limited to 'recipe.d/0009-nspr')
-rw-r--r-- | recipe.d/0009-nspr | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/recipe.d/0009-nspr b/recipe.d/0009-nspr index d1bc7ce..de46994 100644 --- a/recipe.d/0009-nspr +++ b/recipe.d/0009-nspr @@ -1,5 +1,10 @@ - mcd $BUILDDIR/nspr - $SRC/nspr-*/mozilla/nsprpub/configure $TCONFIGARGS --enable-thumb2 - make $J - make $J install +case "$TARGET" in + *armv[567]* ) FLAGS2="--enable-thumb2" ;; + * ) FLAGS2="" ;; +esac + +mcd $BUILDDIR/nspr +$SRC/nspr-*/mozilla/nsprpub/configure $TCONFIGARGS $FLAGS2 +make $J +make $J install |