Skip to content
Snippets Groups Projects
  1. Jan 26, 2017
  2. Jan 25, 2017
  3. Jan 24, 2017
  4. Jan 23, 2017
  5. Jan 22, 2017
  6. Jan 21, 2017
  7. Jan 20, 2017
    • Brad King's avatar
      Android: Pass sysroot include directory explicitly · 1ee0ffab
      Brad King authored
      The NDK's `build/core/definitions.mk` file adds compiler flags:
      
          -isystem $$(call host-path,$$(SYSROOT_INC)/usr/include)
      
      This passes the system include directory explicitly even though it is
      implied by `--sysroot=`.  The explicit flag places the directory
      earlier in the include path than the sysroot-default one would be.
      
      Teach CMake to add this include directory at the end of the standard
      include path for Android.  Otherwise the toolchain's `include-fixed/`
      directory may replace system headers with "fixed" copies that are not
      from the same API version.
      
      Closes: #16536
      1ee0ffab
Loading