From f23828890d9ff9a1e02266faa87179447652c9dc Mon Sep 17 00:00:00 2001 From: Mike Nicholson Date: Mon, 22 Jul 2019 15:12:03 -0500 Subject: Updates for SDK build / mlinux-factory-build --- recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-ruby') diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb index d06be09..8f524e3 100644 --- a/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb +++ b/recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb @@ -17,6 +17,8 @@ SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git" S = "${WORKDIR}/git" B = "${S}" +CFLAGS_append +="-fPIC" + do_compile() { rp=$(ls -d ${STAGING_INCDIR}/ruby-* | head -1) ${CC} -v ${CFLAGS} ${LDFLAGS} -Iext/native -I${rp} -I${rp}/arm-linux-gnueabi -c ext/native/*.c -- cgit v1.2.3