diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-03-16 13:32:55 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-16 14:24:21 -0700 |
| commit | 6d13c58e386d478b8788f440b7815cb866b9d6f0 (patch) | |
| tree | 95707c24667f276c2fe11a95403480281853ac27 /meta-oe/recipes-support/procmail/procmail_3.22.bb | |
| parent | 7e89f2c4dab3d6293a631a90170d4e9c1591ca84 (diff) | |
| download | meta-openembedded-6d13c58e386d478b8788f440b7815cb866b9d6f0.tar.gz | |
procmail: Fix build with GCC-14
aids building on newer build hosts which now have moved to gcc-14
as well, so using cmdline option just for target compile is not
enough as it runs tests using host compiler as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/procmail/procmail_3.22.bb')
| -rw-r--r-- | meta-oe/recipes-support/procmail/procmail_3.22.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/procmail/procmail_3.22.bb b/meta-oe/recipes-support/procmail/procmail_3.22.bb index 59b78c0a6a..32fc12c7da 100644 --- a/meta-oe/recipes-support/procmail/procmail_3.22.bb +++ b/meta-oe/recipes-support/procmail/procmail_3.22.bb | |||
| @@ -15,6 +15,7 @@ SRC_URI = "http://www.ring.gr.jp/archives/net/mail/${BPN}/${BP}.tar.gz \ | |||
| 15 | file://man-file-mailstat.1-from-debian.patch \ | 15 | file://man-file-mailstat.1-from-debian.patch \ |
| 16 | file://CVE-2014-3618.patch \ | 16 | file://CVE-2014-3618.patch \ |
| 17 | file://CVE-2017-16844.patch \ | 17 | file://CVE-2017-16844.patch \ |
| 18 | file://gcc14.patch \ | ||
| 18 | " | 19 | " |
| 19 | SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117" | 20 | SRC_URI[sha256sum] = "087c75b34dd33d8b9df5afe9e42801c9395f4bf373a784d9bc97153b0062e117" |
| 20 | 21 | ||
| @@ -24,6 +25,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a71e50e197a992c862379e576e669757 \ | |||
| 24 | 25 | ||
| 25 | DEPENDS = "libnet" | 26 | DEPENDS = "libnet" |
| 26 | inherit autotools-brokensep | 27 | inherit autotools-brokensep |
| 28 | |||
| 27 | do_configure() { | 29 | do_configure() { |
| 28 | find examples -type f | xargs chmod 644 | 30 | find examples -type f | xargs chmod 644 |
| 29 | export CC="${BUILD_CC}" | 31 | export CC="${BUILD_CC}" |
| @@ -35,7 +37,7 @@ do_configure() { | |||
| 35 | } | 37 | } |
| 36 | 38 | ||
| 37 | do_compile() { | 39 | do_compile() { |
| 38 | oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-int -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" | 40 | oe_runmake -i CFLAGS="$TARGET_CFLAGS -Wno-comments -Wno-implicit-function-declaration -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS0="${LDFLAGS}" |
| 39 | } | 41 | } |
| 40 | 42 | ||
| 41 | do_install() { | 43 | do_install() { |
