[csw-devel] SF.net SVN: gar:[17046] csw/mgar/pkg/x264/trunk/Makefile

janholzh at users.sourceforge.net janholzh at users.sourceforge.net
Tue Feb 14 10:06:04 CET 2012


Revision: 17046
          http://gar.svn.sourceforge.net/gar/?rev=17046&view=rev
Author:   janholzh
Date:     2012-02-14 09:06:03 +0000 (Tue, 14 Feb 2012)
Log Message:
-----------
x264/trunk: Disable PIC where possable

Modified Paths:
--------------
    csw/mgar/pkg/x264/trunk/Makefile

Modified: csw/mgar/pkg/x264/trunk/Makefile
===================================================================
--- csw/mgar/pkg/x264/trunk/Makefile	2012-02-14 03:57:14 UTC (rev 17045)
+++ csw/mgar/pkg/x264/trunk/Makefile	2012-02-14 09:06:03 UTC (rev 17046)
@@ -30,9 +30,11 @@
 BUILD64_LIBS_ONLY = 1
 
 
-CONFIGURE_ARGS-isa-pentium_pro = $(DIRPATHS) --enable-shared --enable-pic
-CONFIGURE_ARGS-isa-amd64 = $(DIRPATHS) --enable-shared --enable-pic --host=amd64-pc-solaris2.10
-CONFIGURE_ARGS-isa-sparcv8plus = $(DIRPATHS) --enable-shared --enable-pic --disable-asm
+#More info on mimpure-text: http://blogs.everycity.co.uk/alasdair/2009/05/text-relocation-remains-against-symbol-libx264/
+
+CONFIGURE_ARGS-isa-pentium_pro = $(DIRPATHS) --enable-shared --extra-ldflags="-mimpure-text -lrt"
+CONFIGURE_ARGS-isa-amd64 = $(DIRPATHS) --enable-shared --extra-ldflags="-mimpure-text -lrt" --host=amd64-pc-solaris2.10
+CONFIGURE_ARGS-isa-sparcv8plus = $(DIRPATHS) --enable-shared --extra-ldflags="-mimpure-text -lrt" --disable-asm
 CONFIGURE_ARGS-isa-sparcv9 = $(DIRPATHS) --enable-shared --enable-pic --disable-asm
 CONFIGURE_ARGS += $(CONFIGURE_ARGS-isa-$(ISA))
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list