net/octeontx: fix build for gcc < 4.6
authorFerruh Yigit <ferruh.yigit@intel.com>
Wed, 25 Oct 2017 17:17:46 +0000 (18:17 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 26 Oct 2017 00:33:01 +0000 (02:33 +0200)
commitf064b2cba090c730cc0db38b533b70aa5d1bed12
tree9bda0983775f7f95c43b14e06e5141d4be62abd0
parent380a7aab1ae2894fa598d8c51962778670996e4a
net/octeontx: fix build for gcc < 4.6

-Ofast option supported starting from gcc4.6 [1], for older versions
using "-O3 -ffast-math" instead.

[1] build error:
  CC octeontx_rxtx.o
  cc1: error: invalid option argument ‘-Ofast’

Fixes: 9e747589bd4c ("net/octeontx: add packet transmit burst function")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/net/octeontx/Makefile