Browse Source

liburing: Re-enable stack-protection for uClibc targets

- Remove -fno-stack-protector for uClibc targets
- Make TITLE a little nicer

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

+ 1
- 5
libs/liburing/Makefile View File

@ -20,7 +20,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/liburing define Package/liburing
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=liburing
TITLE:=io_uring library
URL:=https://git.kernel.dk/cgit/liburing URL:=https://git.kernel.dk/cgit/liburing
endef endef
@ -37,10 +37,6 @@ ifeq ($(CONFIG_USE_MUSL),y)
TARGET_CFLAGS+=-Dloff_t=off_t TARGET_CFLAGS+=-Dloff_t=off_t
endif endif
ifeq ($(CONFIG_USE_UCLIBC),y)
TARGET_CFLAGS+=-fno-stack-protector
endif
define Build/Compile define Build/Compile
$(MAKE) $(PKG_BUILD_DIR) \ $(MAKE) $(PKG_BUILD_DIR) \
DSTROOT="$(PKG_INSTALL_DIR)" DSTROOT="$(PKG_INSTALL_DIR)"


Loading…
Cancel
Save