• Dridi Boukelmoune's avatar
    build: Revisit zlib C flags one more time · 79c7d175
    Dridi Boukelmoune authored
    Trying to fix the build for clang 15 actually broke the build for GCC.
    
    The -Werror that was initially set after saving CFLAGS was meant to be
    part of NO_VIZ test. We turn warnings into errors later in the configure
    script so at this point we shouldn't care about it. If we really do, we
    can move this check below the line where -Werror is set.
    
    GCC chokes on -Wno-error=deprecated-non-prototype so instead we add it
    conditionally.
    
    To match the naming convention everywhere else, libvgz_extra_cflags was
    renamed to VGZ_CFLAGS.
    
    Refs 118fd10c
    79c7d175