diff options
author | fuzzard <fuzzard@users.noreply.github.com> | 2024-03-12 11:26:21 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 11:26:21 +1000 |
commit | 2801dac2be60ddca5a57c9097319ac954328e81e (patch) | |
tree | af1dc3955f2d3233a75d9222f77698b355f3c85c /tools/depends | |
parent | 0ed1149c01e1e076314d6cf60e54eb98e7417bc7 (diff) | |
parent | ea76ee2c292695b07400cf9355d1c4885fa9e65c (diff) |
Merge pull request #24840 from fuzzard/bp_depends_llvm15_support
[BP][tools/depends] LLVM15 support - reduce errors to warnings
Diffstat (limited to 'tools/depends')
-rw-r--r-- | tools/depends/native/pkg-config/Makefile | 4 | ||||
-rw-r--r-- | tools/depends/target/gnutls/Makefile | 4 | ||||
-rw-r--r-- | tools/depends/target/openssl/Makefile | 2 | ||||
-rw-r--r-- | tools/depends/target/samba-gplv3/Makefile | 3 |
4 files changed, 13 insertions, 0 deletions
diff --git a/tools/depends/native/pkg-config/Makefile b/tools/depends/native/pkg-config/Makefile index 1ba81b7a30..2973b69d89 100644 --- a/tools/depends/native/pkg-config/Makefile +++ b/tools/depends/native/pkg-config/Makefile @@ -17,6 +17,10 @@ ifeq ($(CROSS_COMPILING),no) PC_PATH:=$(PC_PATH):/usr/lib/pkgconfig:/usr/lib/$(HOST)/pkgconfig:/usr/share/pkgconfig endif +# LLVM 15 has raised this to error by default. drop back to warning +CFLAGS=$(NATIVE_CFLAGS) -Wno-error=int-conversion +export CFLAGS + # configuration settings CONFIGURE=./configure --prefix=$(PREFIX) --enable-indirect-deps --with-pc-path=$(PC_PATH) --with-internal-glib LIBDYLIB=$(PLATFORM)/pkg-config diff --git a/tools/depends/target/gnutls/Makefile b/tools/depends/target/gnutls/Makefile index 335667d32a..f60773dce9 100644 --- a/tools/depends/target/gnutls/Makefile +++ b/tools/depends/target/gnutls/Makefile @@ -34,6 +34,10 @@ CONFIGURE=./configure --prefix=$(PREFIX) \ --without-idn \ $(CONFIGURE_OPTIONS) +# LLVM 15 has raised this to error by default. drop back to warning +CFLAGS+= -Wno-error=implicit-int +export CFLAGS + LIBDYLIB=$(PLATFORM)/lib/.libs/lib$(LIBNAME).a all: .installed-$(PLATFORM) diff --git a/tools/depends/target/openssl/Makefile b/tools/depends/target/openssl/Makefile index 1a3dceb0b7..c03177e484 100644 --- a/tools/depends/target/openssl/Makefile +++ b/tools/depends/target/openssl/Makefile @@ -21,6 +21,8 @@ else endif endif ifeq ($(OS), darwin_embedded) + # LLVM 15 has raised this to error by default. drop back to warning + CFLAGS+= -Wno-error=implicit-int export SDKROOT CFLAGS OPENSSLPLATFORM=kodi-$(TARGET_PLATFORM)-$(CPU) ifeq ($(TARGET_PLATFORM),appletvos) diff --git a/tools/depends/target/samba-gplv3/Makefile b/tools/depends/target/samba-gplv3/Makefile index 9e1c623e75..20a77dfe42 100644 --- a/tools/depends/target/samba-gplv3/Makefile +++ b/tools/depends/target/samba-gplv3/Makefile @@ -52,6 +52,9 @@ else endif endif +# LLVM 15 has raised this to error by default. drop back to warning +CFLAGS+= -Wno-error=int-conversion + export PERL5LIB:=$(PERLMODULE):$(PERL5LIB) export CC CXX CPP AR RANLIB LD AS NM STRIP TOOLCHAIN |