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:
parent
6f45ff2e8b
commit
a94d934365
|
@ -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__
|
||||
|
|
Loading…
Reference in New Issue