mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 04:31:48 +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:
parent
ef03326d31
commit
9af3510170
@ -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…
x
Reference in New Issue
Block a user