Commit 7cc93080 authored by Vincent Pelletier's avatar Vincent Pelletier

Disable -fPIC for libXext.

Also, explain why it's bad to enable it, and that it doesn't solve the problem
encountered on some old distros (still to be understood).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44801 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 047d76ba
......@@ -89,7 +89,8 @@ environment =
LD_LIBRARY_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
LD_RUN_PATH=${xcbproto:location}/lib:${libXau:location}/lib:${xorg-libpthread-stubs:location}/lib:${xextproto:location}/lib:${libX11:location}/lib:${libxcb:location}/lib
PATH=${pkgconfig:location}/bin:%(PATH)s
CFLAGS=-fPIC
# Warning: do *not* enable -fPIC CFLAGS for this library. Even if it fails and ld asks you to enable it. This will not solve your problem, and create an unexpected (by build chain) setup (all .o will be position-independant code).
# CFLAGS=-fPIC
configure-options =
--disable-specs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment