wok rev 7705

openssl: disable MAKEFLAGS & change configure options
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 19 13:52:20 2010 +0100 (2010-12-19)
parents a251caa1f12a
children d8937a926805
files openssl/receipt
line diff
     1.1 --- a/openssl/receipt	Sat Dec 18 20:47:18 2010 +0000
     1.2 +++ b/openssl/receipt	Sun Dec 19 13:52:20 2010 +0100
     1.3 @@ -16,9 +16,16 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	
     1.8 +	# MAKEFLAGS make openssl build fail.
     1.9 +	unset MAKEFLAGS
    1.10  
    1.11 -	./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2
    1.12 -	sed -i 's/\(basename .*\)`/\1 || true `/' Makefile
    1.13 +	# Add -Wa,--noexecstack here so that libcrypto's assembler modules will be
    1.14 +	# marked as not requiring an executable stack (compatibility improvement).
    1.15 +	./config --prefix=/usr --openssldir=/etc/ssl shared zlib enable-md2 \
    1.16 +		-Wa,--noexecstack &&
    1.17 +	
    1.18 +	sed -i 's/\(basename .*\)`/\1 || true `/' Makefile &&
    1.19  	make &&
    1.20  	make INSTALL_PREFIX=$PWD/_pkg MANDIR=$PWD/_pkg/usr/share/man install
    1.21  }