Index: uspace/app/binutils/toolchain.sh
===================================================================
--- uspace/app/binutils/toolchain.sh	(revision 17e4aec7e640a66f1804fb140f61aa9201c7aa78)
+++ uspace/app/binutils/toolchain.sh	(revision c3b653a397caeed8eb65668d6e5ada7309b45296)
@@ -85,7 +85,11 @@
 		echo '	else'
 					# Remove flags:
+					# -Werror
+					#		Avoid build failure due to some harmless bugs
+					#		(e.g. unused parameter) in the HelenOS.
 					# -Wc++-compat
 					#		Required just for gold linker.
 		echo '		GCC_ARGS="`echo \" $*\" | \'
+		echo '			sed '\'s/ -Werror//g\'' | \'
 		echo '			sed '\'s/ -Wc++-compat//g\'' | \'
 		echo '			sed '\'s/ [ ]*/ /g\''`"'
