mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
3527257c13
* When build libatasmart, we need first build strpool in host env. To build strpool, the compiler is host compiler, but the CFLAGS and LDFLAGS are for cross-compiler, so unify them to fix below error. | make -C strpool strpool | make[1]: Entering directory '../libatasmart/0.19-r0/build/strpool' | gcc -DHAVE_CONFIG_H -I. -I../../git/strpool -I.. -isystem../build/tmp/sysroots/x86_64-linux/usr/include -O2 -pipe -O2 -pipe -g -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -c -o strpool.o `test -f '../strpool.c' || echo '../../git/strpool/'`../strpool.c | gcc: error: unrecognized command line option ‘-fstack-protector-strong’ | make[1]: *** [Makefile:404: strpool.o] Error 1 Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
22 lines
595 B
BlitzBasic
22 lines
595 B
BlitzBasic
SUMMARY = "ATA S.M.A.R.T. Reading and Parsing Library"
|
|
LICENSE = "LGPLv2.1"
|
|
LIC_FILES_CHKSUM = "file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
|
|
|
DEPENDS = "udev"
|
|
|
|
SRCREV = "de6258940960443038b4c1651dfda3620075e870"
|
|
SRC_URI = "git://git.0pointer.de/libatasmart.git \
|
|
file://0001-Makefile.am-add-CFLAGS-and-LDFLAGS-definiton.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools lib_package pkgconfig
|
|
|
|
do_install_append() {
|
|
sed -i -e s://:/:g -e 's:=${libdir}/libudev.la:-ludev:g' ${D}${libdir}/libatasmart.la
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-dev-vala"
|
|
FILES_${PN}-dev-vala = "${datadir}/vala"
|