only use -O1 for php. Using -O2 causes some annoying segfaults. See comment

svn path=/nixpkgs/trunk/; revision=15482
This commit is contained in:
Marc Weber 2009-05-07 05:45:40 +00:00
parent 3ec5f9c74e
commit 13080750d4

View file

@ -122,11 +122,13 @@ composableDerivation {} ( fixed : {
gdSupport = true;
};
# only -O1
configurePhase = ''
iniFile=$out/etc/$name.ini
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
echo configurePhase end
sed -e 's/-O2/-O1/g' -i Makefile # http://bugs.php.net/bug.php?id=47730&edit=3
'';
installPhase = ''