Removing a fix made for gcc 4.3 in php expression. Now it builds with -O2 as usual, instead of -O1.

svn path=/nixpkgs/trunk/; revision=24570
This commit is contained in:
Lluís Batlle i Rossell 2010-11-02 13:24:12 +00:00
parent 5e5ce5a987
commit 448b75b87b

View File

@ -134,13 +134,11 @@ composableDerivation {} ( fixed : let inherit (fixed.fixed) version; in {
gdSupport = getConfig ["php" "gd"] true;
};
# only -O1
configurePhase = ''
iniFile=$out/etc/php-recommended.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 = ''