From: <smi...@us...> - 2003-11-15 14:08:24
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv392/scripts Modified Files: Tag: rel-1-0-patches ebtables Log Message: patche kernel before compiling ebtables Index: ebtables =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/ebtables,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -d -r1.1.2.1 -r1.1.2.2 --- ebtables 15 Nov 2003 01:55:37 -0000 1.1.2.1 +++ ebtables 15 Nov 2003 14:08:20 -0000 1.1.2.2 @@ -29,12 +29,6 @@ case $1 in build ) if [ "$CONFIG_EBTABLES" = "y" ]; then - FLAGS="-Wall -Wunused" - if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then - FLAGS="$FLAGS -fno-stack-protector" - fi - make MANDIR=/usr/share/man CFLAGS="$FLAGS" $PMAKE all|| exit 1 - strip_debug KERNELDIR=$(find_src_dir linux) zcat $DL_DIR/src/ebtables-brnf-*.diff.gz | patch -p 1 -d $KERNELDIR || exit 1 @@ -47,6 +41,12 @@ done echo "CONFIG_IP_NF_MATCH_PHYSDEV=m" >> $KERNELDIR/.config + FLAGS="-Wall -Wunused" + if [ "$CONFIG_GCC_STACK_PROTECTOR" = "y" ]; then + FLAGS="$FLAGS -fno-stack-protector" + fi + make MANDIR=/usr/share/man CFLAGS="$FLAGS" $PMAKE all|| exit 1 + strip_debug fi ;; |