mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
9165fb0d1f
ax_create_stdint_h.m4 includes $CC as a comment in the generated header
which leads to buildpaths warning:
| WARNING: yasm-1.3.0+gitAUTOINC+ba463d3c26-r0 do_package_qa: QA Issue: File /usr/include/libyasm-stdint.h in package yasm-dev contains reference to TMPDIR [buildpaths]
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a7346d2bb1)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
30 lines
871 B
BlitzBasic
30 lines
871 B
BlitzBasic
SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
|
|
LICENSE = "MIT"
|
|
HOMEPAGE = "http://www.tortall.net/projects/yasm/"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"
|
|
|
|
DEPENDS += "flex-native bison-native xmlto-native"
|
|
|
|
PV = "1.3.0+git${SRCPV}"
|
|
# v1.3.0
|
|
SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a"
|
|
SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \
|
|
file://0001-Do-not-use-AC_HEADER_STDC.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit autotools gettext python3native
|
|
|
|
CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'"
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
PARALLEL_MAKE = ""
|
|
|
|
do_configure:prepend() {
|
|
# Don't include $CC (which includes path to sysroot) in generated header.
|
|
sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4
|
|
}
|