Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression fix: Don't use -lthread or -lrt/-lposix4 any more.
- Loading branch information
Dan McDonald
authored and
Dan McDonald
committed
May 23, 2014
1 parent
8678d24
commit 50365b9
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff -ur pristine/nspr/configure nss-3.16.1/nspr/configure | ||
--- pristine/nspr/configure Thu May 1 18:27:29 2014 | ||
+++ nss-3.16.1/nspr/configure Thu May 22 20:57:50 2014 | ||
@@ -7627,7 +7627,7 @@ | ||
# be linked against -lrt (or -lposix4) so add it to OS_LIBS | ||
_rev=`uname -r` | ||
_librt=`echo $_rev 5.6 | awk '{ if ($1 > $2) print "-lrt"; else print "-lposix4" }'` | ||
- OS_LIBS="$OS_LIBS $_librt" | ||
+ # OS_LIBS="$OS_LIBS $_librt" | ||
;; | ||
|
||
*-sco-sysv5*) | ||
diff -ur pristine/nss/coreconf/SunOS5.mk nss-3.16.1/nss/coreconf/SunOS5.mk | ||
--- pristine/nss/coreconf/SunOS5.mk Fri May 2 03:27:18 2014 | ||
+++ nss-3.16.1/nss/coreconf/SunOS5.mk Thu May 22 20:54:20 2014 | ||
@@ -141,4 +141,4 @@ | ||
RPATH = -R '$$ORIGIN' | ||
endif | ||
|
||
-OS_LIBS += -lthread -lnsl -lsocket -lposix4 -ldl -lc | ||
+OS_LIBS += -lnsl -lsocket -ldl -lc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nss-modernize.patch |