Index: build/make-local ================================================================== --- build/make-local +++ build/make-local @@ -1,13 +1,13 @@ #! /bin/sh make distclean -./configure +CFLAGS='-Wall -Werror -W' ./configure # Replace version with the version . build/makearch.info sed "s/@@VERS@@/${VERS}/g" Makefile > Makefile.new && cat Makefile.new > Makefile rm -f Makefile.new make strip -x tclpkcs11.so Index: build/make-win32 ================================================================== --- build/make-win32 +++ build/make-win32 @@ -8,14 +8,14 @@ RANLIB=i586-mingw32msvc-ranlib RC=i586-mingw32msvc-windres STRIP=i586-mingw32msvc-strip export AR CC CXX RANLIB RC STRIP -./configure --host=i586-mingw32msvc --with-tcl=build/win32 +CFLAGS='-Wall -Werror -W' ./configure --host=i586-mingw32msvc --with-tcl=build/win32 # Replace version with the version . build/makearch.info sed "s/@@VERS@@/${VERS}/g" Makefile > Makefile.new && cat Makefile.new > Makefile rm -f Makefile.new make "${STRIP}" -x tclpkcs11.dll