mirror of
https://git.yoctoproject.org/poky
synced 2026-06-10 16:53:49 +02:00
Passing Wno-error via environment flags for target and nativesdk is intended but is not effective due to command line ordering and as a result some patches have been added to disable particular kind of warning as error. Given the scenario, warnings as errors should be disabled for all builds, this makes it portable across hosts and across compilers ( gcc, clang ) and glibc versions. (From OE-Core rev: 2151e4824bb45200173e95e2a08eab9057cea29d) Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 25f26861ddc8d71af5381d1acc883ad948bddace) Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Paul Barker <paul@pbarker.dev>
34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
SUMMARY = "Extended cryptographic library (from glibc)"
|
|
DESCRIPTION = "Forked code from glibc libary to extract only crypto part."
|
|
HOMEPAGE = "https://github.com/besser82/libxcrypt"
|
|
SECTION = "libs"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://LICENSING;md5=c0a30e2b1502c55a7f37e412cd6c6a4b \
|
|
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
|
"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "git://github.com/besser82/libxcrypt.git;branch=${SRCBRANCH};protocol=https \
|
|
file://174c24d6e87aeae631bc0a7bb1ba983cf8def4de.patch \
|
|
"
|
|
SRCREV = "f531a36aa916a22ef2ce7d270ba381e264250cbf"
|
|
SRCBRANCH ?= "master"
|
|
|
|
SRC_URI += "file://fix_cflags_handling.patch \
|
|
file://configure-c99.patch"
|
|
|
|
PROVIDES = "virtual/crypt"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}"
|
|
TARGET_CPPFLAGS = "-I${STAGING_DIR_TARGET}${includedir}"
|
|
|
|
EXTRA_OECONF += "--disable-werror"
|
|
|
|
API = "--disable-obsolete-api"
|
|
EXTRA_OECONF += "${API}"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|