Skip to content
Snippets Groups Projects
  1. Oct 24, 2016
    • Brad King's avatar
      Android: Set CMAKE_POSITION_INDEPENDENT_CODE automatically · 6205f179
      Brad King authored
      If the toolchain file or cache does not set this, enable it
      automatically based on the Android API version.  Versions 16
      and above expect position independent code.
      
      Use the main `CMAKE_POSITION_INDEPENDENT_CODE` setting in favor of
      hard-coding `-fpic` or `-fPIC` in the compiler flags for each ABI.
      This allows CMake to use `-fpie` or `-fPIE` as needed when sources
      are meant for executables, and `-fpic` or `-fPIC` for other sources.
      6205f179
  2. Oct 21, 2016
    • Brad King's avatar
      Android: Add missing link flags for device executables · 295c8efa
      Brad King authored
      See `${ndk}/build/core/default-build-commands.mk` for link flags the NDK
      uses for executables.  Add them to our default executable link flags.
      Suppress `nocopyreloc` on `arm64-v8a` because it does not work with
      some STL types.
      
      Closes: #16380
      295c8efa
    • Brad King's avatar
      Android: Fix support for armeabi with c++_static · 43f4326e
      Brad King authored
      Add missing "unwind" and "atomic" libraries needed for this combination.
      See `${ndk}/sources/cxx-stl/llvm-libc++/libs/armeabi/libc++.a` for the
      libraries the NDK uses.
      
      Issue: #16380
      43f4326e
  3. Oct 18, 2016
  4. Oct 17, 2016
  5. Oct 14, 2016
  6. Oct 13, 2016
  7. Oct 11, 2016
  8. Oct 10, 2016
  9. Oct 08, 2016
  10. Oct 07, 2016
Loading