projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22fff8
)
nspr: nspr add -flto to compile
12166/head
author
Lucian Cristian
<lucian.cristian@gmail.com>
Thu, 14 May 2020 13:22:56 +0000
(16:22 +0300)
committer
Lucian Cristian
<lucian.cristian@gmail.com>
Fri, 15 May 2020 07:29:23 +0000
(10:29 +0300)
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
libs/nspr/Makefile
patch
|
blob
|
history
diff --git
a/libs/nspr/Makefile
b/libs/nspr/Makefile
index e68d7397ee9ca4ae5060e8b2bd4db9a1035482d9..8d4c42ab2096f65b1bc42481ba93ca6648cb692f 100644
(file)
--- a/
libs/nspr/Makefile
+++ b/
libs/nspr/Makefile
@@
-8,7
+8,7
@@
include $(TOPDIR)/rules.mk
PKG_NAME:=nspr
PKG_VERSION:=4.25
-PKG_RELEASE:=
2
+PKG_RELEASE:=
3
PKG_MAINTAINER:=Lucian Cristian <lucian.cristian@gmail.com>
PKG_LICENCE:=MPL-2.0
@@
-34,7
+34,8
@@
ifeq ($(LBITS),64)
endif
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 += \
--build=$(GNU_HOST_NAME) \