Skip to content

Commit

Permalink
recipe: force cross-compiling mode with --cross-compiling flag
Browse files Browse the repository at this point in the history
Signed-off-by: Ilkka Myller <ilkka.myller@nodefield.com>
  • Loading branch information
imyller committed Apr 22, 2017
1 parent 6249cfb commit 8e345ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion recipes-devtools/nodejs/nodejs_7.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"

INC_PR = "r1"
PR = "${INC_PR}.1"
PR = "${INC_PR}.2"

PROVIDES = "node"
RPROVIDES_${PN} = "node"
Expand Down Expand Up @@ -50,6 +50,7 @@ do_configure () {
--dest-cpu="${@nodejs_map_dest_cpu(d.getVar('TARGET_ARCH', True), d)}" \
--dest-os=linux ${ARCHFLAGS} \
--with-intl=none \
--cross-compiling \
${PACKAGECONFIG_CONFARGS}
}

Expand Down

0 comments on commit 8e345ab

Please sign in to comment.