Browse Source

liburing: Simplify CFLAGS assignment for MUSL targets

- Simplify the way we deal with additional CFLAGS for MUSL targets

Signed-off-by: Christian Lachner <gladiac@gmail.com>
lilik-openwrt-22.03
Christian Lachner 5 years ago
parent
commit
c12c8ceafb
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      libs/liburing/Makefile

+ 1
- 3
libs/liburing/Makefile View File

@ -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) \


Loading…
Cancel
Save