/[gentoo-x86]/app-arch/zip/files/zip-3.0-pic.patch
Gentoo

Contents of /app-arch/zip/files/zip-3.0-pic.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Sun Sep 21 10:08:48 2008 UTC (11 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump #237141 by Conrad Kostecki.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.2 x86_64)

1 if our toolchain generates PIC by default, then do not use the hand written
2 assembly files as none of it is PIC friendly.
3
4 --- unix/configure
5 +++ unix/configure
6 @@ -29,6 +29,9 @@
7 echo Check if we can use asm code
8 OBJA=""
9 OCRCU8=""
10 +piclib="$(echo | $CPP -dM $CFLAGS - | grep -i __pic__)"
11 +echo "Checking if compiler wants to create pic code"
12 +[ "$piclib" == "" ] && \
13 if eval "$CPP match.S > _match.s 2>/dev/null"; then
14 if test ! -s _match.s || grep error < _match.s > /dev/null; then
15 :

  ViewVC Help
Powered by ViewVC 1.1.20