From 989ff8e43ac4f5abaa7a5a23f5c364de7eb4acea Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 26 Jun 2012 21:49:09 -0400 Subject: F17 udpates Various updates to stage 1 and 2 to build with F17 GA SRPMs --- recipe.d/0009-nspr | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'recipe.d/0009-nspr') 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 -- cgit