build: fix vpp compilation failure on ThunderX2 and Amp 71/22171/2
authorJianlin Lv <[email protected]>
Thu, 27 Jun 2019 05:50:30 +0000 (13:50 +0800)
committerAndrew Yourtchenko <[email protected]>
Sat, 21 Sep 2019 08:28:17 +0000 (08:28 +0000)
commit62988dc63242b65970705c895e69aed50a6c3b47
treec0dd259bbd9086d33fbb03051c600649a5ac2b33
parent61d9c6bfdf8e418a98f0b162d41db97e82cc5a23
build: fix vpp compilation failure on ThunderX2 and Amp

fix compile issue that caused by enabling "-mtune=thunderx2t99"
flag during compilation, such as
"/opt/vpp-agent/dev/vpp/src/vnet/interface_stats.c:164:1:
internal compiler error: Segmentation fault"

Type: fix

Change-Id: Iaf9f80a6c203a7e5b6a40523f14a62bb37091c92
Signed-off-by: Jianlin Lv <[email protected]>
(cherry picked from commit 416e32cf9292b899cbed28ec29836517eb942206)
src/cmake/cpu.cmake