=================================================================== RCS file: /cvs/djgpp/djgpp/src/makefile.inc,v retrieving revision 1.14 retrieving revision 1.15 diff -p -u -r1.14 -r1.15 --- djgpp/src/makefile.inc 2013/03/07 16:49:20 1.14 +++ /cvs/djgpp/djgpp/src/makefile.inc 2013/04/01 18:32:31 1.15 @@ -32,7 +32,7 @@ AS := $(subst \,/,$(AS)) # Figure out GAS version for use in *.S and inline asm compile flags # -GAS_VERSION_STR:= $(shell $(AS) --version | sed 1q | sed -e 's:^.*\([0-9]\.[0-9][\.0-9]*\).*$$:\1:') +GAS_VERSION_STR:= $(shell $(AS) --version | sed 1q | sed -e 's:^.*[ ]\([0-9]\.[0-9][\.0-9]*\).*$$:\1:') GAS_VERSION := $(subst ., ,$(GAS_VERSION_STR)) GAS_MAJOR := $(word 1,$(GAS_VERSION)) GAS_MINOR := $(word 2,$(GAS_VERSION))