mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 20:20:52 +00:00
lmdb: Pass CFLAGS to Makefile
This ensures that __FILE__ macros is expanded correctly without buildpaths Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9af3510170137070cb269e6cf0399ac43ad8bece) Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
parent
6b59a43868
commit
1e86587ed8
@ -21,11 +21,11 @@ inherit ptest
|
|||||||
S = "${WORKDIR}/git/libraries/liblmdb"
|
S = "${WORKDIR}/git/libraries/liblmdb"
|
||||||
|
|
||||||
do_compile() {
|
do_compile() {
|
||||||
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}"
|
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" XCFLAGS="${CFLAGS}"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake CC="${CC}" DESTDIR="${D}" prefix="${prefix}" libprefix="${libdir}" manprefix="${mandir}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" install
|
oe_runmake CC="${CC}" DESTDIR="${D}" prefix="${prefix}" libprefix="${libdir}" manprefix="${mandir}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" XCFLAGS="${CFLAGS}" install
|
||||||
cd ${D}${libdir}
|
cd ${D}${libdir}
|
||||||
ln -s liblmdb.so.${PV} liblmdb.so
|
ln -s liblmdb.so.${PV} liblmdb.so
|
||||||
rm liblmdb.a
|
rm liblmdb.a
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user