Changeset 1124 for trunk


Ignore:
Timestamp:
2012-08-04T05:57:00+02:00 (2 years ago)
Author:
moo
Message:

PHP<=5.3 cannot survive with -pedantic-errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/devel/run

    r1123 r1124  
    150150    fi 
    151151    export PATH=$PHPSDIR/$phpbasename/bin:$PATH 
     152    local pedantic= 
     153    case $phpbasename in 
     154    php5|php5.4) pedantic=-pedantic-errors;; 
     155    *) pedantic=-pedantic;; 
     156    esac 
    152157    phpize --clean \ 
    153158    && phpize \ 
    154     && CFLAGS="-g -O0 -pedantic-errors -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused-parameter -Wno-unused-function -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \ 
     159    && CFLAGS="-g -O0 $pedanti -Wno-variadic-macros -Wno-long-long -Wall -Wno-unused-parameter -Wno-unused-function -W -Wshadow -Werror=implicit-function-declaration -std=c89 -D_GNU_SOURCE -D_POSIX_SOURCE -Dinline=" ./configure \ 
    155160        --enable-xcache-cacher \ 
    156161        --enable-xcache-optimizer \ 
Note: See TracChangeset for help on using the changeset viewer.