only use -O1 for php. Using -O2 causes some annoying segfaults. See comment
svn path=/nixpkgs/trunk/; revision=15482
This commit is contained in:
parent
3ec5f9c74e
commit
13080750d4
@ -122,11 +122,13 @@ composableDerivation {} ( fixed : {
|
|||||||
gdSupport = true;
|
gdSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# only -O1
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
iniFile=$out/etc/$name.ini
|
iniFile=$out/etc/$name.ini
|
||||||
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
|
[[ -z "$libxml2" ]] || export PATH=$PATH:$libxml2/bin
|
||||||
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
|
./configure --with-config-file-scan-dir=/etc --with-config-file-path=$out/etc --prefix=$out $configureFlags
|
||||||
echo configurePhase end
|
echo configurePhase end
|
||||||
|
sed -e 's/-O2/-O1/g' -i Makefile # http://bugs.php.net/bug.php?id=47730&edit=3
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user