binutils: allow static linking
[openadk.git] / package / nss / patches / patch-nss_coreconf_Linux_mk
blob4b9b1ad5a6850a1884e35451a29177829349603a
1 --- nss-3.26.1.orig/nss/coreconf/Linux.mk       2016-09-26 18:31:01.000000000 +0200
2 +++ nss-3.26.1/nss/coreconf/Linux.mk    2016-10-02 11:09:15.042562528 +0200
3 @@ -16,9 +16,9 @@ ifeq ($(USE_PTHREADS),1)
4         IMPL_STRATEGY = _PTH
5  endif
6  
7 -CC                     = gcc
8 -CCC                    = g++
9 -RANLIB                 = ranlib
10 +CC                     ?= gcc
11 +CCC                    ?= g++
12 +RANLIB                 ?= ranlib
14  DEFAULT_COMPILER = gcc
16 @@ -159,7 +159,7 @@ ZDEFS_FLAG          = -Wl,-z,defs
17  ifneq ($(USE_ASAN),1)
18  DSO_LDOPTS             += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
19  endif
20 -LDFLAGS                        += $(ARCHFLAG)
21 +#LDFLAGS                       += $(ARCHFLAG)
23  # On Maemo, we need to use the -rpath-link flag for even the standard system
24  # library directories.