openvswitch: fix build for gcc versions below 4.9 485/head
authorAlexandru Ardelean <aa@ocedo.com>
Thu, 30 Oct 2014 08:31:42 +0000 (10:31 +0200)
committerAlexandru Ardelean <aa@ocedo.com>
Thu, 30 Oct 2014 08:33:58 +0000 (10:33 +0200)
commitd16d96f52d2d2de5af7bdd820f3a6605f414a614
tree9ec6b1d79cf4bfb12e2b797ff82f02d36caec069
parent79e0842a65e3873a7a5b962722b5a2114972fc52
openvswitch: fix build for gcc versions below 4.9

Seems that while fixing the build for GCC 4.9
I broke the build for GCC 4.8, because that KCFLAG I added
causes a build error (since it's not recognized).

The fix is to add KCFLAG only when GCC 4.9 is used.

OpenVSwitch now builds successfully with GCC 4.8 and 4.9.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
net/openvswitch/Makefile