mk: fix build with Debian/Ubuntu-specific gcc version
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Feb 2015 10:46:56 +0000 (12:46 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Feb 2015 11:11:16 +0000 (12:11 +0100)
commit6eb85c0e443fada3a74a7a45559cfeac6befcc6c
treec13d7855a6b474bafea875b4437a4f33156f668c
parenta906cf28fd34c6e79d06297f74e6c747b01fa8c1
mk: fix build with Debian/Ubuntu-specific gcc version

Commit 71f0ab1849b4fc3ca928deb566df12ca725ed150 broke compilation
on some versions of Debian and Ubuntu where gcc has been modified
to only emit MAJOR.MINOR part of the version from 'gcc -dumpversion'.
Drop the micro-version from gcc version comparisons to work around
this, it wasn't being used for anything anyway.

Fixes: 71f0ab1849b4 ("mk: rework gcc version detection to permit versions newer than 4.x")

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_pmd_fm10k/Makefile
lib/librte_pmd_i40e/Makefile
lib/librte_pmd_ixgbe/Makefile
lib/librte_pmd_vmxnet3/Makefile
mk/toolchain/gcc/rte.toolchain-compat.mk