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>
This commit is contained in:
parent
f345e6646d
commit
c12c8ceafb
1 changed files with 1 additions and 3 deletions
|
@ -33,9 +33,7 @@ endef
|
||||||
|
|
||||||
CONFIGURE_ARGS:=--prefix=$(CONFIGURE_PREFIX) --cc=${TARGET_CC}
|
CONFIGURE_ARGS:=--prefix=$(CONFIGURE_PREFIX) --cc=${TARGET_CC}
|
||||||
|
|
||||||
ifeq ($(CONFIG_USE_MUSL),y)
|
TARGET_CFLAGS += $(if $(CONFIG_USE_MUSL),-Dloff_t=off_t)
|
||||||
TARGET_CFLAGS+=-Dloff_t=off_t
|
|
||||||
endif
|
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(MAKE) $(PKG_BUILD_DIR) \
|
$(MAKE) $(PKG_BUILD_DIR) \
|
||||||
|
|
Loading…
Reference in a new issue