VOM: Makefile: Fix the execution time initialization order 41/9341/2
authorMohsin Kazmi <sykazmi@cisco.com>
Thu, 9 Nov 2017 10:58:26 +0000 (11:58 +0100)
committerNeale Ranns <nranns@cisco.com>
Thu, 9 Nov 2017 16:24:52 +0000 (16:24 +0000)
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 <sykazmi@cisco.com>
src/vpp-api/vom/Makefile.am

index 395b709..cdeacdf 100644 (file)
@@ -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