* sysdeps/m68k/Makefile (crypt): Don't define if building a shared
authorRoland McGrath <roland@gnu.org>
Wed, 17 Jan 1996 02:33:33 +0000 (02:33 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 17 Jan 1996 02:33:33 +0000 (02:33 +0000)
library.

ChangeLog
sysdeps/m68k/Makefile

index 5a85adf04221ab637b8d6664074a76bc2cd1f9de..249eed256b78641e5685f916697be65028f21a69 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Tue Jan 16 17:37:39 1996  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>
 
+       * sysdeps/m68k/Makefile (crypt): Don't define if building a shared
+       library.
+
        * csu/initfini.c (_init): Call __gmon_start__ if defined (weak ref).
        * csu/gmon-start.c (__gmon_start__): Renamed from gmon_start, made
        global.
index ea0c7d5cbb9b7f3ad08799bc23f05338cbe3eda5..12e9b567879b417106b5f9576382bb3363c1f82f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1993, 1994 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
 # way to choose a sysdep file based on MIT vs Motorola syntax.
 # No existing m68k ports use Motorola syntax.
 
-crypt := crypt.sun3    # Use crypt/crypt.sun3.S.
+# Don't use crypt/crypt.sun3.S.  It's not pic-clean.
+ifneq (yes,$(build-shared))
+crypt := crypt.sun3
+endif
 \f
 # The mpn functions need this.  All existing 68k ports use MIT syntax.  If
 # a new port wants to use Motorola or Sony syntax, it can redefine this
@@ -29,4 +32,4 @@ ifndef m68k-syntax-flag
 m68k-syntax-flag = -DMIT_SYNTAX
 endif
 
-asm-CPPFLAGS := $(asm-CPPFLAGS) $(m68k-syntax-flag)
+asm-CPPFLAGS += $(m68k-syntax-flag)