wok diff mdadm/receipt @ rev 15112

Add some -Wno-error=unused-but-set-variable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 14 21:14:37 2013 +0000 (2013-08-14)
parents 02bbaa9d12ba
children 116909b7c87e
line diff
     1.1 --- a/mdadm/receipt	Mon Apr 04 01:29:52 2011 +0200
     1.2 +++ b/mdadm/receipt	Wed Aug 14 21:14:37 2013 +0000
     1.3 @@ -5,15 +5,17 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Software RAID tools"
     1.6  MAINTAINER="b1+slitaz@nagel.org"
     1.7 -DEPENDS=""
     1.8  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.9  WEB_SITE="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/ANNOUNCE"
    1.10  WGET_URL="http://www.us.kernel.org/pub/linux/utils/raid/mdadm/$TARBALL"
    1.11  
    1.12 +DEPENDS=""
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
    1.17  	cd $src
    1.18 +	export CFLAGS="-Wno-error=unused-but-set-variable"
    1.19  	make mdadm
    1.20  }
    1.21