blob: 216b7776676fabbb46cc1b09a118cf11a1daa720 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "x86 (SSE) assembler supporting NASM and GAS-syntaxes"
Brad Bishop2d39a062019-10-28 08:33:36 -04002LICENSE = "MIT"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08003HOMEPAGE = "http://www.tortall.net/projects/yasm/"
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=a12d8903508fb6bfd49d8d82c6170dd9"
6
Patrick Williams92b42cb2022-09-03 06:53:57 -05007DEPENDS += "flex-native bison-native"
8PACKAGECONFIG[docs] = ",,xmlto-native,"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009
Patrick Williams73bd93f2024-02-20 08:07:48 -060010PV = "1.3.0+git"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011# v1.3.0
12SRCREV = "ba463d3c26c0ece2e797b8d6381b161633b5971a"
Andrew Geissler595f6302022-01-24 19:11:47 +000013SRC_URI = "git://github.com/yasm/yasm.git;branch=master;protocol=https \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060014 file://0001-Do-not-use-AC_HEADER_STDC.patch \
Patrick Williams2a254922023-08-11 09:48:11 -050015 file://CVE-2023-31975.patch \
Andrew Geissler5082cc72023-09-11 08:41:39 -040016 file://CVE-2023-37732.patch \
Patrick Williams39653562024-03-01 08:54:02 -060017 file://0001-yasm-Set-build-date-to-SOURCE_DATE_EPOCH.patch \
18 file://0002-yasm-Use-BUILD_DATE-for-reproducibility.patch \
Andrew Geisslerac970dd2021-02-12 15:32:45 -060019"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020
21S = "${WORKDIR}/git"
22
Andrew Geissler82c905d2020-04-13 13:39:40 -050023inherit autotools gettext python3native
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024
25CACHED_CONFIGUREVARS = "CCLD_FOR_BUILD='${CC_FOR_BUILD}'"
26
27BBCLASSEXTEND = "native"
28
29PARALLEL_MAKE = ""
Patrick Williams92b42cb2022-09-03 06:53:57 -050030
31do_configure:prepend() {
32 # Don't include $CC (which includes path to sysroot) in generated header.
33 sed -i -e "s/^echo \"\/\* generated \$ac_cv_stdint_message \*\/\" >>\$ac_stdint$"// ${S}/m4/ax_create_stdint_h.m4
34}
Patrick Williams39653562024-03-01 08:54:02 -060035