summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-24 23:01:49 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-24 23:14:15 +0200
commit304c490d72c26c5c894b4a25b8ad2cae172c162d (patch)
tree23b86b93c7a65f502dbd6c963551b994fabd97a3 /nss
parent452320479750023896e37fefbd3c7a8dee139bbd (diff)
nss/moz: Add Linux 3.0 profile
As this is a copy of Linux2.6.mk this has to be MPL 1.1/GPL 2.0/LGPL 2.1 I think.
Diffstat (limited to 'nss')
-rw-r--r--nss/nss.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/nss/nss.patch b/nss/nss.patch
index 6930e6753ac9..ac24855660b4 100644
--- a/nss/nss.patch
+++ b/nss/nss.patch
@@ -189,3 +189,17 @@
endif
CHECKLOC = $(CHECKLIBS:.$(DLL_SUFFIX)=.chk)
+--- /dev/null 2011-07-24 19:07:44.290563140 +0200
++++ misc/build/nss-3.12.8/mozilla/security/coreconf/Linux3.0.mk 2011-07-24 22:21:02.710513995 +0200
+@@ -0,0 +1,11 @@
++include $(CORE_DEPTH)/coreconf/Linux.mk
++
++OS_REL_CFLAGS += -DLINUX2_1
++MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so) $(RPATH)
++
++ifdef MAPFILE
++ MKSHLIB += -Wl,--version-script,$(MAPFILE)
++endif
++PROCESS_MAP_FILE = grep -v ';-' $< | \
++ sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
++