X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=rebuild;h=fe6576e2e49d3b2c34bb6b8ce8db007efc37a939;hp=569b3fccd09edb36fee2a0e9e694fcbbf030c8de;hb=4c9d48b72af6544a4e01115f8d90035fd5bef17a;hpb=a0bca521b491711e43aef74fe19c23a8eb4d0777 diff --git a/rebuild b/rebuild index 569b3fc..fe6576e 100755 --- a/rebuild +++ b/rebuild @@ -4,7 +4,7 @@ rm -f warnings if test -d "$1"; then PREFIX=$1 else - PREFIX=/usr + PREFIX=/opt fi echo "Using prefix '$PREFIX' for phpize and php-config!" @@ -18,7 +18,7 @@ fi echo "DONE" echo -n "configuring... " -CFLAGS="-W -Wchar-subscripts -Wformat=2 -Wno-format-y2k -Wimplicit -Wmissing-braces -Wunused-variable -Wbad-function-cast -Wpointer-arith -Wsign-compare -Winline" \ +CFLAGS="-Wall -Wextra -Wno-unused-parameter -Wfloat-equal -Wdeclaration-after-statement -Wundef -Wbad-function-cast -Wcast-align -Wmissing-field-initializers -Wnested-externs" \ ./configure --with-php-config=${PREFIX}/bin/php-config $2 >/dev/null if test $? -ne 0 ; then echo "FAILED!" @@ -35,6 +35,6 @@ else fi if test -s warnings; then - cat warnings + grep -E "^/.+http" warnings fi