On 8/26/16 3:45 PM, Jianxun Zhang wrote: > 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. >
have you tested the dynamic version ? > 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 > > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto