Skip to content

Commit

Permalink
argp-standalone: fix compilation with Alpine Linux
Browse files Browse the repository at this point in the history
This package is a C89 one. Add the proper CFLAG to fix compilation.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
  • Loading branch information
neheb authored and chunkeey committed Mar 16, 2022
1 parent e8a0c55 commit 80b88b0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package/libs/argp-standalone/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 80b88b0

Please sign in to comment.