[libgpiod,0/2] tools: fix compile issues when GNU extensions are not present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix issue when building against a C library without GNU extensions, such
as Android's Bionic libc.

A commit with a sample Android.bp file that's working against Android 11 is
included for informational purposes, which I don't expect Bartosz to pull.

Benjamin Li (2):
  tools: use getprogname() when available to remove dependency on glibc
  build: add Android.bp to build within Android tree

 Android.bp           | 129 +++++++++++++++++++++++++++++++++++++++++++
 configure.ac         |  11 +++-
 tools/gpiodetect.c   |   4 +-
 tools/gpioget.c      |   4 +-
 tools/gpioinfo.c     |   4 +-
 tools/gpiomon.c      |   4 +-
 tools/gpionotify.c   |   4 +-
 tools/gpioset.c      |   4 +-
 tools/tools-common.c |  16 +++---
 tools/tools-common.h |   4 +-
 10 files changed, 161 insertions(+), 23 deletions(-)
 create mode 100644 Android.bp

-- 
2.25.1




[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux