patch-nss_coreconf_Linux_mk 692 B

123456789101112131415161718192021222324
  1. --- nss-3.15.2.orig/nss/coreconf/Linux.mk 2013-09-25 15:57:55.000000000 +0200
  2. +++ nss-3.15.2/nss/coreconf/Linux.mk 2013-09-27 19:08:33.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. @@ -144,7 +144,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.