summaryrefslogtreecommitdiff
path: root/recipes-ruby/ruby-serialport
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-04-03 12:47:22 -0500
committerJohn Klug <john.klug@multitech.com>2017-05-23 15:21:54 -0500
commit18ce886647f912cc77cd1f78236061f9ba0b5db0 (patch)
tree8928cdac2009c71979ba0daba5d45e9cc3d00afc /recipes-ruby/ruby-serialport
parent023383fc98da6a34b8eba7cbcde380e0a967a220 (diff)
downloadmeta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.tar.gz
meta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.tar.bz2
meta-mlinux-18ce886647f912cc77cd1f78236061f9ba0b5db0.zip
Use make with e option and add gnu11 as C standard
Diffstat (limited to 'recipes-ruby/ruby-serialport')
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb b/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
index a020f90..f00c45c 100644
--- a/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
+++ b/recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb
@@ -15,6 +15,7 @@ SRCREV = "709e385f6d20aaadc7f3252af59250336d27e607"
SRC_URI = "git://github.com/hparra/ruby-serialport.git;protocol=git"
S = "${WORKDIR}/git"
+B = "${S}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -Iext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ext/native/*.c