Remove __PIC__ because on mips __PIC__ is used to indicate that the pic abi

is used, and it is set even in the absence of -fpic or -fPIC. Thanks to
tsutsui@ for the explanation.
This commit is contained in:
christos 2008-01-31 20:07:46 +00:00
parent 6f45ff2e8b
commit a94d934365
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: openpam.h,v 1.9 2008/01/27 01:22:58 christos Exp $
* $Id: openpam.h,v 1.10 2008/01/31 20:07:46 christos Exp $
*/
#ifndef SECURITY_OPENPAM_H_INCLUDED
@ -320,7 +320,7 @@ struct pam_module {
#define DATA_SET(a, b) __link_set_add_data(a, b)
#endif
#if defined(__GNUC__) && !defined(__PIC__) && !defined(NO_STATIC_MODULES)
#if defined(__GNUC__) && !defined(NO_STATIC_MODULES)
/* gcc, static linking */
# include <sys/cdefs.h>
# ifdef __FreeBSD__