patch-nss_coreconf_Linux_mk 692 B

123456789101112131415161718192021222324
  1. --- nss-3.16.1.orig/nss/coreconf/Linux.mk 2014-05-02 05:27:18.000000000 +0200
  2. +++ nss-3.16.1/nss/coreconf/Linux.mk 2014-06-19 14:09:55.000000000 +0200
  3. @@ -16,9 +16,9 @@ ifeq ($(USE_PTHREADS),1)
  4. IMPL_STRATEGY = _PTH
  5. endif
  6. -CC = gcc
  7. -CCC = g++
  8. -RANLIB = ranlib
  9. +CC ?= gcc
  10. +CCC ?= g++
  11. +RANLIB ?= ranlib
  12. DEFAULT_COMPILER = gcc
  13. @@ -146,7 +146,7 @@ DSO_LDOPTS = -shared $(ARCHFLAG)
  14. # we don't use -z defs there.
  15. ZDEFS_FLAG = -Wl,-z,defs
  16. DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
  17. -LDFLAGS += $(ARCHFLAG)
  18. +#LDFLAGS += $(ARCHFLAG)
  19. # On Maemo, we need to use the -rpath-link flag for even the standard system
  20. # library directories.