wok-next diff openssl/receipt @ rev 8327

Up: sqlite to 3.7.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 01 16:50:08 2011 +0000 (2011-02-01)
parents 080293f081ce
children 72de3d65c27c
line diff
     1.1 --- a/openssl/receipt	Thu Dec 02 18:57:16 2010 +0000
     1.2 +++ b/openssl/receipt	Tue Feb 01 16:50:08 2011 +0000
     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  }