mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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 9af3510170)
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"
|
||||
|
||||
do_compile() {
|
||||
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}"
|
||||
oe_runmake CC="${CC}" SOEXT=".so.${PV}" LDFLAGS="${LDFLAGS}" XCFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
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}
|
||||
ln -s liblmdb.so.${PV} liblmdb.so
|
||||
rm liblmdb.a
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user