diff options
author | Rosen Penev <rosenp@gmail.com> | 2022-03-09 22:31:14 -0800 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2022-03-16 17:58:24 +0100 |
commit | 80b88b083aa3c38ddd2efb89614c2c55dcaa3037 (patch) | |
tree | 4d4999b89ac5fd23f189410d3e6f898c46df130a | |
parent | e8a0c55909427703b7c72ed46326531397287b20 (diff) | |
download | upstream-80b88b083aa3c38ddd2efb89614c2c55dcaa3037.tar.gz upstream-80b88b083aa3c38ddd2efb89614c2c55dcaa3037.tar.bz2 upstream-80b88b083aa3c38ddd2efb89614c2c55dcaa3037.zip |
argp-standalone: fix compilation with Alpine Linux
This package is a C89 one. Add the proper CFLAG to fix compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r-- | package/libs/argp-standalone/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/package/libs/argp-standalone/Makefile b/package/libs/argp-standalone/Makefile index 21b154f29d..1a48dcb2cd 100644 --- a/package/libs/argp-standalone/Makefile +++ b/package/libs/argp-standalone/Makefile @@ -34,8 +34,10 @@ define Package/argp-standalone/description endef MAKE_FLAGS += \ - CFLAGS="$(TARGET_CFLAGS) $(FPIC)" + CFLAGS="$(TARGET_CFLAGS) $(FPIC) -std=gnu89" +HOST_MAKE_FLAGS += \ + CFLAGS="$(HOST_CFLAGS) $(FPIC) -std=gnu89" define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include |