mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
nspr: nspr add -flto to compile
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
+3
-2
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=nspr
|
PKG_NAME:=nspr
|
||||||
PKG_VERSION:=4.25
|
PKG_VERSION:=4.25
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
|
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
|
||||||
PKG_LICENCE:=MPL-2.0
|
PKG_LICENCE:=MPL-2.0
|
||||||
|
|
||||||
@@ -34,7 +34,8 @@ ifeq ($(LBITS),64)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
export MUSL=$(if $(CONFIG_LIBC_USE_GLIBC),0,1)
|
export MUSL=$(if $(CONFIG_LIBC_USE_GLIBC),0,1)
|
||||||
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
|
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed $(FPIC)
|
||||||
|
TARGET_CFLAGS += -flto
|
||||||
|
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += \
|
||||||
--build=$(GNU_HOST_NAME) \
|
--build=$(GNU_HOST_NAME) \
|
||||||
|
|||||||
Reference in New Issue
Block a user