Package: cmake
Version: 2.4.8-1.1
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

cmake includes ${CMAKE_SHARED_LIBRARY_C_FLAGS} in the command line to
link an executable, and by default this is -fPIC.  Either the use or
the definition of this variable is wrong, because executables should
not be linked with this option by default.

It's not entirely obvious how this variable gets into the command
line, but you can verify that it does by changing its value to e.g. -D
SHARED and running make VERBOSE=1.

Ben.

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (100, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cmake depends on:
ii  libc6                     2.7-10         GNU C Library: Shared libraries
ii  libgcc1                   1:4.3.0-3      GCC support library
ii  libncurses5               5.6+20080419-2 Shared libraries for terminal hand
ii  libstdc++6                4.3.0-3        The GNU Standard C++ Library v3

cmake recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIFm+W79ZNCRIGYgcRAuW2AJ9PP6J0vGzVCMJLdlDvdLQ1pf6KugCghGA9
RPuv47hhvNJJ9h8xT6JhG88=
=mF3L
-----END PGP SIGNATURE-----



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to