mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user