Message ID | 1458650984-5316-1-git-send-email-danielx.t.mrzyglod@intel.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Commit Message
diff --git a/app/test/Makefile b/app/test/Makefile index 00e4df2..707930f 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -114,6 +114,7 @@ SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_string.c SRCS-$(CONFIG_RTE_LIBRTE_CMDLINE) += test_cmdline_lib.c ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y) +LDLIBS += -lrt SRCS-y += test_red.c SRCS-y += test_sched.c endif diff --git a/examples/ptpclient/Makefile b/examples/ptpclient/Makefile index b77cf71..082c690 100644 --- a/examples/ptpclient/Makefile +++ b/examples/ptpclient/Makefile @@ -46,6 +46,7 @@ SRCS-y := ptpclient.c CFLAGS += -O3 CFLAGS += $(WERROR_FLAGS) +LDLIBS += -lrt # workaround for a gcc bug with noreturn attribute # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603 diff --git a/lib/librte_eal/linuxapp/eal/Makefile b/lib/librte_eal/linuxapp/eal/Makefile index 25b3a8e..1860739 100644 --- a/lib/librte_eal/linuxapp/eal/Makefile +++ b/lib/librte_eal/linuxapp/eal/Makefile @@ -52,6 +52,7 @@ CFLAGS += $(WERROR_FLAGS) -O3 LDLIBS += -ldl LDLIBS += -lpthread LDLIBS += -lgcc_s +LDLIBS += -lrt # specific to linuxapp exec-env SRCS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) := eal.c