]> git.droids-corp.org - dpdk.git/blobdiff - examples/vm_power_manager/Makefile
bnx2x: fix little endian conversion in Tx
[dpdk.git] / examples / vm_power_manager / Makefile
index b0a103733e03c03b5d89094bc7d5dede24a0c659..113dbc43ff9c9d3fbe8b464ac9b54b24fe929607 100644 (file)
@@ -45,9 +45,11 @@ APP = vm_power_mgr
 SRCS-y := main.c vm_power_cli.c power_manager.c channel_manager.c
 SRCS-y += channel_monitor.c
 
 SRCS-y := main.c vm_power_cli.c power_manager.c channel_manager.c
 SRCS-y += channel_monitor.c
 
-CFLAGS += -O3 -lvirt -I$(RTE_SDK)/lib/librte_power/
+CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/
 CFLAGS += $(WERROR_FLAGS)
 
 CFLAGS += $(WERROR_FLAGS)
 
+LDLIBS += -lvirt
+
 # workaround for a gcc bug with noreturn attribute
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
 ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
 # workaround for a gcc bug with noreturn attribute
 # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
 ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)