Kaydet (Commit) 304c490d authored tarafından Thomas Arnhold's avatar Thomas Arnhold

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.
üst 45232047
...@@ -6336,3 +6336,19 @@ ...@@ -6336,3 +6336,19 @@
clean clobber:: clean clobber::
rm -rf $(DIST)/$(APP_NAME).app rm -rf $(DIST)/$(APP_NAME).app
--- /dev/null 2011-07-24 19:07:44.290563140 +0200
+++ misc/build/mozilla/security/coreconf/Linux3.0.mk 2011-07-24 22:21:02.710513995 +0200
@@ -0,0 +1,13 @@
+include $(CORE_DEPTH)/coreconf/Linux.mk
+
+DSO_LDOPTS += -Wl,-z,defs
+
+OS_REL_CFLAGS += -DLINUX2_1
+MKSHLIB = $(CC) $(DSO_LDOPTS) -Wl,-soname -Wl,$(@:$(OBJDIR)/%.so=%.so)
+
+ifdef MAPFILE
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
+endif
+PROCESS_MAP_FILE = grep -v ';-' $< | \
+ sed -e 's,;+,,' -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,;,' > $@
+
...@@ -189,3 +189,17 @@ ...@@ -189,3 +189,17 @@
endif endif
CHECKLOC = $(CHECKLIBS:.$(DLL_SUFFIX)=.chk) 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,;.*,;,' > $@
+
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment