1 --- misc/mozilla/nsprpub/config/rules.mk Tue Mar 24 23:49:17 2009
2 +++ misc/build/mozilla/nsprpub/config/rules.mk Mon Jun 29 15:45:22 2009
5 $(RC) $(RCFLAGS) $(filter-out -U%,$(DEFINES)) $(INCLUDES:-I%=--include-dir %) -o $@ $<
7 - $(RC) $(RCFLAGS) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$@ $<
8 + #We remove stl from the paths to avoid that rc.exe finds the stlport of
9 + #OOo. stlport includes the system stl which will fail. By removing it,
10 + #rc will use the stl from the system if the path is in the INCLUDE
12 + INCLUDE="$(subst /stl,,$(INCLUDE))" $(RC) $(RCFLAGS) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$@ $<
16 --- misc/mozilla/nsprpub/configure Fri Dec 5 01:46:50 2008
17 +++ misc/build/mozilla/nsprpub/configure Mon Jun 29 15:28:52 2009
20 MKSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
22 - DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)'
23 + DSO_LDOPTS='-shared -Wl,-rpath,\$$ORIGIN -Wl,-soname -Wl,$(notdir $@)'
25 _DEBUG_FLAGS="-g -fno-inline" # most people on linux use gcc/gdb, and that
26 # combo is not yet good at debugging inlined
27 --- misc/mozilla/security/coreconf/Darwin.mk Fri Mar 20 08:19:35 2009
28 +++ misc/build/mozilla/security/coreconf/Darwin.mk Mon Jun 29 15:28:52 2009
30 include $(CORE_DEPTH)/coreconf/UNIX.mk
33 +# CC is taken from environment automatically.
35 +# Use CCC from environment.
44 --- misc/mozilla/security/coreconf/Linux.mk Sat Sep 6 01:17:23 2008
45 +++ misc/build/mozilla/security/coreconf/Linux.mk Mon Jun 29 15:28:52 2009
52 +# CC is taken from environment automatically.
54 +# Use CCC from environment.
59 DEFAULT_COMPILER = gcc
64 -DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs
65 +DSO_LDOPTS = -shared $(ARCHFLAG) -Wl,-z,defs '-Wl,-rpath,$$ORIGIN'
67 LDFLAGS += $(ARCHFLAG)
69 --- misc/mozilla/security/coreconf/SunOS5.mk Thu Nov 22 05:39:56 2007
70 +++ misc/build/mozilla/security/coreconf/SunOS5.mk Mon Jun 29 15:28:52 2009
72 # OPTIMIZER += -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer
77 +# CC is taken from environment automatically.
79 +# Use CXX from environment.
83 OS_CFLAGS += $(NOMD_OS_CFLAGS) $(ARCHFLAG)
85 --- misc/mozilla/security/coreconf/arch.mk Wed Mar 11 19:54:24 2009
86 +++ misc/build/mozilla/security/coreconf/arch.mk Mon Jun 29 15:28:52 2009
88 # IMPL_STRATEGY may be defined too.
91 -OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
92 +# OBJDIR_NAME is used to build the directory containing the built objects, for
93 +# example mozilla/dist/Linux2.6_x86_glibc_PTH_DBG.OBJ
94 +# We need to deliver the contents of that folder into the solver. To make that easier
95 +# in the makefile we rename this directory to "out".
96 +#OBJDIR_NAME = $(OS_TARGET)$(OS_RELEASE)$(CPU_TAG)$(COMPILER_TAG)$(LIBC_TAG)$(IMPL_STRATEGY)$(OBJDIR_TAG).OBJ
100 ifeq (,$(filter-out WIN%,$(OS_TARGET)))
103 --- misc/mozilla/security/coreconf/rules.mk Wed Jan 21 00:30:57 2009
104 +++ misc/build/mozilla/security/coreconf/rules.mk Mon Jun 29 15:47:42 2009
107 $(RC) $(filter-out -U%,$(DEFINES)) $(INCLUDES:-I%=--include-dir %) -o $@ $<
109 - $(RC) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$@ $<
110 + #We remove stl from the paths to avoid that rc.exe finds the stlport of
111 + #OOo. stlport includes the system stl which will fail. By removing it,
112 + #rc will use the stl from the system if the path is in the INCLUDE
114 + INCLUDE="$(subst /stl,,$(INCLUDE))" $(RC) $(filter-out -U%,$(DEFINES)) $(INCLUDES) -Fo$@ $<
116 @echo $(RES) finished
118 --- misc/mozilla/security/nss/cmd/platlibs.mk Wed Dec 3 00:24:46 2008
119 +++ misc/build/mozilla/security/nss/cmd/platlibs.mk Mon Jun 29 15:28:52 2009
122 ifeq ($(OS_ARCH), Linux)
124 -EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib64:$$ORIGIN/../lib'
125 +EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN:$$ORIGIN'
127 -EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN/../lib'
128 +EXTRA_SHARED_LIBS += -Wl,-rpath,'$$ORIGIN'