summaryrefslogtreecommitdiff
path: root/recipes-ruby
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
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')
-rw-r--r--recipes-ruby/ruby-serialport/ruby-serialport_1.1.0.bb1
-rw-r--r--recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb1
2 files changed, 2 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
diff --git a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb b/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
index b3210e6..d0cb2b6 100644
--- a/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
+++ b/recipes-ruby/ruby-sqlite3/ruby-sqlite3_1.3.7.bb
@@ -12,6 +12,7 @@ PR = "r0"
SRC_URI = "git://github.com/luislavena/sqlite3-ruby.git;tag=v${PV};protocol=git"
S = "${WORKDIR}/git"
+B = "${S}"
do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -Iext/sqlite3 -Iext/native -I${STAGING_INCDIR}/ruby-1.9.1 -I${STAGING_INCDIR}/ruby-1.9.1/arm-linux-eabi -c ext/sqlite3/*.c