wok-6.x rev 10561

jabberd2: force CFLAGS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 21:54:53 2011 +0200 (2011-05-25)
parents 445069574b5a
children 7336c01c2ee2
files jabberd2/receipt
line diff
     1.1 --- a/jabberd2/receipt	Wed May 25 21:50:10 2011 +0200
     1.2 +++ b/jabberd2/receipt	Wed May 25 21:54:53 2011 +0200
     1.3 @@ -18,10 +18,11 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	CFLAGS="-march=$ARCH -O2 -pipe -fomit-frame-pointer"
     1.8  	./configure --prefix=/usr --infodir=/usr/share/info \
     1.9  	--sysconfdir=/etc/jabberd --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.10  	make &&
    1.11 -	make DESTDIR=$PWD/_pkg install
    1.12 +	make DESTDIR=$DESTDIR install
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.