git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50f463
)
examples/vm_power: fix split of compiler and linker options
author
Olivier Matz
<olivier.matz@6wind.com>
Wed, 17 Dec 2014 12:55:24 +0000
(13:55 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Wed, 17 Dec 2014 23:26:08 +0000
(
00:26
+0100)
The argument -lvirt is a linker parameter, not a CFLAG.
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
examples/vm_power_manager/Makefile
patch
|
blob
|
history
diff --git
a/examples/vm_power_manager/Makefile
b/examples/vm_power_manager/Makefile
index
b0a1037
..
113dbc4
100644
(file)
--- a/
examples/vm_power_manager/Makefile
+++ b/
examples/vm_power_manager/Makefile
@@
-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
-CFLAGS += -O3 -
lvirt -
I$(RTE_SDK)/lib/librte_power/
+CFLAGS += -O3 -I$(RTE_SDK)/lib/librte_power/
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)