summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/safec/safec_3.7.1.bb
blob: 4de58f5d63bb0ba1b57b2bf00573076fba36efba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
SUMMARY  = "Safe C Library"

LICENSE  = "safec"
LIC_FILES_CHKSUM = "file://COPYING;md5=6d0eb7dfc57806a006fcbc4e389cf164"
SECTION = "lib"

inherit autotools pkgconfig

SRCREV = "f9add9245b97c7bda6e28cceb0ee37fb7e254fd8"
SRC_URI = "git://github.com/rurban/safeclib.git;branch=master;protocol=https \
           file://0001-strpbrk_s-Remove-unused-variable-len.patch \
           "
# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-mretpoline' [-Werror,-Wunused-command-line-argument]
# arm-yoe-linux-gnueabi-clang: error: argument unused during compilation: '-fstack-clash-protection' [-Werror,-Wunused-command-line-argument]
TUNE_CCARGS:append:toolchain-clang = " -Qunused-arguments"

COMPATIBLE_HOST = '(x86_64|i.86|powerpc|powerpc64|arm|aarch64|mips).*-linux'

PACKAGES =+ "${PN}-check"

FILES:${PN}-check += "${bindir}/check_for_unsafe_apis"

RDEPENDS:${PN}-check += "perl"