The removed static linking was for a desire to make rmc run
on systems where c libraries are not provided.

But it is nothing wrong to dynamically link rmc with libraries.
We also don't have to hardcode the way of linking in Makefile
since people can specify it in RMC_CFLAGS passed to make command.

Signed-off-by: Jianxun Zhang <jianxun.zh...@linux.intel.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index e873af6..f152829 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ RMC_INSTALL_BIN_PATH := $(RMC_INSTALL_PREFIX)/bin/
 
 ALL_OBJS := $(RMC_TOOL_OBJ) $(RMCL_OBJ) $(RSMP_OBJ)
 
-CFLAGS := -static -Wall -O2 -Iinc $(RMC_CFLAGS)
+CFLAGS := -Wall -O2 -Iinc $(RMC_CFLAGS)
 
 all: rmc librmcl librsmp
 
-- 
2.7.4

-- 
_______________________________________________
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to