Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(571)

Side by Side Diff: sys-libs/zlib/files/zlib-1.2.5-ldflags.patch

Issue 6776028: Upgrade libxml2 and its portage dependencies (Closed) Base URL: ssh://gitrw.chromium.org:9222/portage-stable.git@master
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 http://bugs.gentoo.org/319661
2
3 LDFLAGS is only used with the shared lib, so dont link against the static zlib
4
5 --- a/configure
6 +++ b/configure
7 @@ -19,7 +19,6 @@
8 fi
9
10 STATICLIB=libz.a
11 -LDFLAGS="${LDFLAGS} -L. ${STATICLIB}"
12 VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < zlib.h`
13 VER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < zlib.h`
14 VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < zlib.h`
15 @@ -174,7 +173,6 @@
16 LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so.1"} ;;
17 OSF1\ V4*) SFLAGS=${CFLAGS-"-O -std1"}
18 CFLAGS=${CFLAGS-"-O -std1"}
19 - LDFLAGS="${LDFLAGS} -Wl,-rpath,."
20 LDSHARED=${LDSHARED-"cc -shared -Wl,-soname,libz.so -Wl,-msym -Wl ,-rpath,$(libdir) -Wl,-set_version,${VER}:1.0"} ;;
21 OSF1*) SFLAGS=${CFLAGS-"-O -std1"}
22 CFLAGS=${CFLAGS-"-O -std1"}
OLDNEW
« no previous file with comments | « sys-libs/zlib/files/zlib-1.2.5-fbsd_chosts.patch ('k') | sys-libs/zlib/files/zlib-1.2.5-lfs-decls.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698