Browse Source

Merge pull request #10849 from neheb/nss

nss: Fix compilation with uClibc-ng
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
05e3b1a943
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      libs/nss/Makefile

+ 2
- 1
libs/nss/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=nss PKG_NAME:=nss
PKG_VERSION:=3.48 PKG_VERSION:=3.48
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:= \ PKG_SOURCE_URL:= \
@ -62,6 +62,7 @@ ifeq ($(CONFIG_CPU_TYPE),"xscale")
TARGET_CFLAGS+= -mfloat-abi=softfp TARGET_CFLAGS+= -mfloat-abi=softfp
endif endif
TARGET_CFLAGS += -D_GNU_SOURCE
TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed
export CROSS_COMPILE=1 export CROSS_COMPILE=1


Loading…
Cancel
Save