diff options
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_18.16.0.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_18.16.0.bb b/meta-oe/recipes-devtools/nodejs/nodejs_18.16.0.bb index 06631f27db..3adb51549e 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_18.16.0.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_18.16.0.bb | |||
@@ -79,9 +79,9 @@ PACKAGECONFIG[zlib] = "--shared-zlib,,zlib" | |||
79 | # and we need to use the right flags during host compile, | 79 | # and we need to use the right flags during host compile, |
80 | # too. | 80 | # too. |
81 | EXTRA_OEMAKE = "\ | 81 | EXTRA_OEMAKE = "\ |
82 | CC.host='${CC}' \ | 82 | CC.host='${CC} -pie -fPIE' \ |
83 | CFLAGS.host='${CPPFLAGS} ${CFLAGS}' \ | 83 | CFLAGS.host='${CPPFLAGS} ${CFLAGS}' \ |
84 | CXX.host='${CXX}' \ | 84 | CXX.host='${CXX} -pie -fPIE' \ |
85 | CXXFLAGS.host='${CPPFLAGS} ${CXXFLAGS}' \ | 85 | CXXFLAGS.host='${CPPFLAGS} ${CXXFLAGS}' \ |
86 | LDFLAGS.host='${LDFLAGS}' \ | 86 | LDFLAGS.host='${LDFLAGS}' \ |
87 | AR.host='${AR}' \ | 87 | AR.host='${AR}' \ |