1. 07 Mar, 2017 5 commits
    • Luca Barbato's avatar
      configure: Check for -no_weak_imports in ldflags on macOS · 81bffae3
      Luca Barbato authored
      Recent versions of macOS provide more POSIX API (in particular,
      clock_gettime) than previous versions and recent Apple toolchains
      provide all that API, even when targeting older releases without
      said API. Disallow linking to functions which might not be available
      at runtime.
      
      To actually have an effect, either add
      --extra-cflags="-mmacosx-version-min=10.11" (or any other version
      prior to 10.12) or set MACOSX_DEPLOYMENT_TARGET=10.11 when running
      configure.
      
      As a workaround for libav versions without this fix, one can
      also add --extra-cflags="-mmacosx-version-min=10.11
      -Werror=partial-availability" while running configure.
      
      The -no_weak_imports flag is new in Xcode 8; in Xcode 7 it is not
      supported. This is not an issue since Xcode 7 only ships with the
      10.11 macOS SDK, which lacks clock_gettime.
      
      Bug-Id: 1033
      
      CC: libav-stable@libav.org
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      81bffae3
    • Diego Biurrun's avatar
      build: Prefer NASM assembler over YASM · 57b753b4
      Diego Biurrun authored
      NASM is more actively maintained and permits generating dependency information
      as a sideeffect of assembling, thus cutting build times in half.
      57b753b4
    • Diego Biurrun's avatar
      f54037da
    • Diego Biurrun's avatar
      build: Special-case handling of SDL CFLAGS · 51411eb7
      Diego Biurrun authored
      SDL adds some "special" CFLAGS that interfere with building normal
      binaries. Capture those CFLAGS separately and avoid adding them to
      the general CFLAGS.
      51411eb7
    • Diego Biurrun's avatar
      build: Fix logic of clock_gettime() check · 003124eb
      Diego Biurrun authored
      We should only check for clock_gettime() if _POSIX_MONOTONIC_CLOCK is
      available and do a full link check for clock_gettime() in all cases.
      003124eb
  2. 06 Mar, 2017 1 commit
    • Vittorio Giovara's avatar
      pixlet: Fix architecture-dependent code and values · b44bd7ee
      Vittorio Giovara authored
      The constants used in the decoder used floating point precision,
      and this caused different values to be generated on different
      architectures. Additionally on big endian machines, the fate test
      would output bytes in native order, which is different from the one
      hardcoded in the test.
      
      So, eradicate floating point numbers and use fixed point (32.32)
      arithmetics everywhere, replacing constants with precomputed integer
      values, and force the pixel format output to be the same in the fate
      test.
      Signed-off-by: 's avatarVittorio Giovara <vittorio.giovara@gmail.com>
      b44bd7ee
  3. 05 Mar, 2017 2 commits
  4. 04 Mar, 2017 1 commit
  5. 01 Mar, 2017 13 commits
  6. 28 Feb, 2017 5 commits
  7. 27 Feb, 2017 7 commits
  8. 25 Feb, 2017 4 commits
  9. 24 Feb, 2017 2 commits