git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f345e66
)
liburing: Simplify CFLAGS assignment for MUSL targets
author
Christian Lachner
<redacted>
Thu, 2 Jul 2020 07:04:45 +0000
(09:04 +0200)
committer
Christian Lachner
<redacted>
Thu, 2 Jul 2020 07:04:45 +0000
(09:04 +0200)
- Simplify the way we deal with additional CFLAGS for MUSL targets
Signed-off-by: Christian Lachner <redacted>
libs/liburing/Makefile
patch
|
blob
|
history
diff --git
a/libs/liburing/Makefile
b/libs/liburing/Makefile
index 409bca3dc27bf22cbd8b9393847b3a72f8b7e358..7238d5bcc4daa84ff0ff3b5283be95281ba67f54 100644
(file)
--- a/
libs/liburing/Makefile
+++ b/
libs/liburing/Makefile
@@
-33,9
+33,7
@@
endef
CONFIGURE_ARGS:=--prefix=$(CONFIGURE_PREFIX) --cc=${TARGET_CC}
-ifeq ($(CONFIG_USE_MUSL),y)
- TARGET_CFLAGS+=-Dloff_t=off_t
-endif
+TARGET_CFLAGS += $(if $(CONFIG_USE_MUSL),-Dloff_t=off_t)
define Build/Compile
$(MAKE) $(PKG_BUILD_DIR) \
git clone https://git.99rst.org/PROJECT