1. 02 Oct, 2018 1 commit
    • Marvin Scholz's avatar
      Build: Fix static library building · 9684908d
      Marvin Scholz authored
      Due to bugs in meson the approach with the intermediate static library
      for tests does not work very well, see #44. Therefore this commits
      removes that helper library and instead uses extract_all_objects for
      the tests.
      
      Due to the removal of the static helper library, it means we can no
      longer force static linking for dav1d tool on windows which means that
      when building a shared library the dav1d.exe will not be runnable in
      the build directory again.
      
      Fix #44
      9684908d
  2. 01 Oct, 2018 1 commit
  3. 29 Sep, 2018 6 commits
  4. 28 Sep, 2018 9 commits
  5. 27 Sep, 2018 7 commits
  6. 26 Sep, 2018 1 commit
  7. 25 Sep, 2018 1 commit
  8. 24 Sep, 2018 5 commits
    • Marvin Scholz's avatar
      Build: Do not add redundant -Wall flag · 133fe1f9
      Marvin Scholz authored
      The -Wall flag is already set by default, as mesons `warning_level`
      defaults to 1, which includes the -Wall flag.
      
      Fix #12
      133fe1f9
    • Marvin Scholz's avatar
      Build: Remove _GNU_SOURCE macro · 62069f12
      Marvin Scholz authored
      No GNU extensions are used.
      62069f12
    • Marvin Scholz's avatar
      Build: Change C standard version to C99 · fa89922b
      Marvin Scholz authored
      fa89922b
    • Marvin Scholz's avatar
      Build: Use POSIX.1–2001 (IEEE Std 1003.1-2001) · d83e084c
      Marvin Scholz authored
      Define `_POSIX_C_SOURCE` to `200112L`, to indicate we want to use
      POSIX.1–2001. Additionally remove incorrect definition of
      `POSIX_C_SOURCE` (note the lack of underscore at the beginning).
      The intention was probably to define `_POSIX_C_SOURCE` which would be
      redundant and previously even conflicting with the other version set
      previously.
      For the has_function check, use the correct value of `200112L`.
      d83e084c
    • Marvin Scholz's avatar
      Build: Remove cargo-cult macro definitions · dc371f98
      Marvin Scholz authored
      - _REENTRANT and _THREAD_SAFE were taken from the VLC build system
        and have since been removed there, so it seems safe to remove those
        here as well.
      - _POSIX_PTHREAD_SEMANTICS is required for POSIX thread flavor of
        threading functions but instead we can define _POSIX_C_SOURCE to a
        value higher than 199506L, when including <pthread.h>, see
        https://docs.oracle.com/cd/E19455-01/806-5257/compile-3/index.html
      - __EXTENSIONS__ is used to enable Solaris extensions, as far as I
        know we are not using any.
      - _FILE_OFFSET_BITS is already defined to 64 by meson.
      - _ISOC99_SOURCE should not be required as we do not support compiling
        with -std c89.
      - _ISOC11_SOURCE should not be required as we set -std c11, so we do
        not need any C11 extensions to C99 as we already use C11.
      - _POSIX_SOURCE is not required as we already set _POSIX_C_SOURCE to
        a positive integer.
      * _XOPEN_SOURCE should not be needed as we already have
        _POSIX_C_SOURCE.
      * _XOPEN_SOURCE_EXTENDED should not be required as we do not need any
        X/Open Unix extensions to my knowledge.
      * _BSD_SOURCE should not be required as we already set _POSIX_C_SOURCE.
      * _SVID_SOURCE should not be required as we already set _POSIX_C_SOURCE.
      dc371f98
  9. 23 Sep, 2018 3 commits
  10. 20 Sep, 2018 1 commit
  11. 22 Sep, 2018 2 commits
  12. 20 Sep, 2018 1 commit