mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
Merge pull request #330015 from LibreCybernetics/remove-clang-vala-unconditional-flag
vala: remove unconditional work around for clang 16 function pointer errors
This commit is contained in:
@@ -7,15 +7,6 @@ make_vala_find_vapi_files() {
|
||||
|
||||
addEnvHooks "$targetOffset" make_vala_find_vapi_files
|
||||
|
||||
disable_incompabile_pointer_conversion_warning() {
|
||||
# Work around incompatible function pointer conversion errors with clang 16
|
||||
# by setting ``-Wno-incompatible-function-pointer-types` in an env hook.
|
||||
# See https://gitlab.gnome.org/GNOME/vala/-/issues/1413.
|
||||
NIX_CFLAGS_COMPILE+=" -Wno-incompatible-function-pointer-types"
|
||||
}
|
||||
|
||||
addEnvHooks "$hostOffset" disable_incompabile_pointer_conversion_warning
|
||||
|
||||
_multioutMoveVapiDirs() {
|
||||
moveToOutput share/vala/vapi "${!outputDev}"
|
||||
moveToOutput share/vala-@apiVersion@/vapi "${!outputDev}"
|
||||
|
||||
Reference in New Issue
Block a user