mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
lz4: use CFLAGS from bitbake
Currently lz4 uses it's own defaults which include O3 optimization. Switch from O3 to bitbake default O2 reduces binary package size from 467056 to 331888 bytes. Enables also building with Os if needed. (From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
de0c3226ab
commit
d2c176d1ca
@@ -22,7 +22,7 @@ S = "${WORKDIR}/git"
|
||||
# Fixed in r118, which is larger than the current version.
|
||||
CVE_CHECK_WHITELIST += "CVE-2014-4715"
|
||||
|
||||
EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no"
|
||||
EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' CFLAGS='${CFLAGS}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir} BUILD_STATIC=no"
|
||||
|
||||
do_install() {
|
||||
oe_runmake install
|
||||
|
||||
Reference in New Issue
Block a user