$OpenBSD: patch-native_client_build_compiler_version_py,v 1.1 2014/10/13 06:49:19 robert Exp $
--- native_client/build/compiler_version.py.orig.port	Sat Oct 11 11:50:40 2014
+++ native_client/build/compiler_version.py	Sat Oct 11 11:50:50 2014
@@ -62,7 +62,7 @@ def GetVersion(compiler, tool):
       # Unmodified: GNU assembler (GNU Binutils) 2.24
       # Ubuntu: GNU assembler (GNU Binutils for Ubuntu) 2.22
       # Fedora: GNU assembler version 2.23.2
-      version_re = re.compile(r"^GNU [^ ]+ .* (\d+).(\d+).*?$", re.M)
+      version_re = re.compile(r"^GNU assembler (\d+).(\d+)")
     elif tool == "linker":
       compiler = compiler + " -Xlinker --version"
       # Using BFD linker
