mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
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:
@@ -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) \
|
||||||
|
|||||||
Reference in New Issue
Block a user