Signed-off-by: Anatoly Burakov <[email protected]> --- examples/multi_process/client_server_mp/mp_client/Makefile | 2 +- examples/multi_process/simple_mp/Makefile | 2 +- examples/multi_process/symmetric_mp/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/multi_process/client_server_mp/mp_client/Makefile b/examples/multi_process/client_server_mp/mp_client/Makefile index 2688fed..081832e 100644 --- a/examples/multi_process/client_server_mp/mp_client/Makefile +++ b/examples/multi_process/client_server_mp/mp_client/Makefile @@ -42,7 +42,7 @@ APP = mp_client # all source are stored in SRCS-y SRCS-y := client.c -CFLAGS += $(WERROR_FLAGS) -O3 +CFLAGS += $(WERROR_FLAGS) -O3 -rdynamic -fPIC -pie CFLAGS += -I$(SRCDIR)/../shared include $(RTE_SDK)/mk/rte.extapp.mk diff --git a/examples/multi_process/simple_mp/Makefile b/examples/multi_process/simple_mp/Makefile index 31ec0c8..f74f456 100644 --- a/examples/multi_process/simple_mp/Makefile +++ b/examples/multi_process/simple_mp/Makefile @@ -44,7 +44,7 @@ APP = simple_mp # all source are stored in SRCS-y SRCS-y := main.c mp_commands.c -CFLAGS += -O3 +CFLAGS += -O3 -rdynamic -fPIC -pie CFLAGS += $(WERROR_FLAGS) include $(RTE_SDK)/mk/rte.extapp.mk diff --git a/examples/multi_process/symmetric_mp/Makefile b/examples/multi_process/symmetric_mp/Makefile index c789f3c..e9e9bf8 100644 --- a/examples/multi_process/symmetric_mp/Makefile +++ b/examples/multi_process/symmetric_mp/Makefile @@ -44,7 +44,7 @@ APP = symmetric_mp # all source are stored in SRCS-y SRCS-y := main.c -CFLAGS += -O3 +CFLAGS += -O3 -rdynamic -fPIC -pie CFLAGS += $(WERROR_FLAGS) include $(RTE_SDK)/mk/rte.extapp.mk -- 2.7.4

