diff options
author | Jeff Hatch <jhatch@multitech.com> | 2020-06-04 14:22:33 -0500 |
---|---|---|
committer | Jeff Hatch <jhatch@multitech.com> | 2020-06-04 14:22:33 -0500 |
commit | 44b321b521cf857f6cf3cd8bb7ba8baf8dae1182 (patch) | |
tree | bc36b243d8f4ef9535c7c500b9ffcb96885df61e /recipes-ruby | |
parent | 683182b8eb2fa4cee10369d068d88084864d8be9 (diff) | |
parent | 432af19f672a64228e1b70b0b25abb5a0ee7ee30 (diff) | |
download | meta-mlinux-44b321b521cf857f6cf3cd8bb7ba8baf8dae1182.tar.gz meta-mlinux-44b321b521cf857f6cf3cd8bb7ba8baf8dae1182.tar.bz2 meta-mlinux-44b321b521cf857f6cf3cd8bb7ba8baf8dae1182.zip |
Merge branch 'test-split'
Merge changes for the move to Yocto Thud
Diffstat (limited to 'recipes-ruby')
-rw-r--r-- | recipes-ruby/ruby-serialport/ruby-serialport_1.3.1.bb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |