projects
/
openwrt
/
staging
/
stintel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8a0c55
)
argp-standalone: fix compilation with Alpine Linux
author
Rosen Penev
<rosenp@gmail.com>
Thu, 10 Mar 2022 06:31:14 +0000
(22:31 -0800)
committer
Christian Lamparter
<chunkeey@gmail.com>
Wed, 16 Mar 2022 16:58:24 +0000
(17:58 +0100)
This package is a C89 one. Add the proper CFLAG to fix compilation.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
package/libs/argp-standalone/Makefile
patch
|
blob
|
history
diff --git
a/package/libs/argp-standalone/Makefile
b/package/libs/argp-standalone/Makefile
index 21b154f29d8e3fa14cde9f44afdca4a8a62aa48e..1a48dcb2cd72696b6547b2ff945de81961989ccc 100644
(file)
--- 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