From: Mohsin Kazmi Date: Thu, 9 Nov 2017 10:58:26 +0000 (+0100) Subject: VOM: Makefile: Fix the execution time initialization order X-Git-Tag: v18.04-rc0~293 X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=commitdiff_plain;h=67b1b2274771d9b9a67a37b8e3156317d4c93437 VOM: Makefile: Fix the execution time initialization order When compile with gcc version 4.8.5, the compiler doesn't able to optimize the execution time initialization order. This patch fixes the initialization order. Change-Id: I14eacdf30f7ef481f72452adfc955400e37ae559 Signed-off-by: Mohsin Kazmi --- diff --git a/src/vpp-api/vom/Makefile.am b/src/vpp-api/vom/Makefile.am index 395b7094967..cdeacdfa6f5 100644 --- a/src/vpp-api/vom/Makefile.am +++ b/src/vpp-api/vom/Makefile.am @@ -35,6 +35,7 @@ libvom_la_LIBADD = \ -lm -lrt libvom_la_SOURCES = \ + types.cpp \ acl_binding_cmds.cpp \ acl_binding.cpp \ acl_l2_rule.cpp \ @@ -97,7 +98,6 @@ libvom_la_SOURCES = \ sub_interface.cpp \ tap_interface.cpp \ tap_interface_cmds.cpp \ - types.cpp \ vxlan_tunnel_cmds.cpp \ vxlan_tunnel.cpp