projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6809c6f
)
(crypt): Don't define if building a shared library.
author
roland
<roland>
Wed, 17 Jan 1996 02:31:44 +0000
(
02:31
+0000)
committer
roland
<roland>
Wed, 17 Jan 1996 02:31:44 +0000
(
02:31
+0000)
sysdeps/m68k/Makefile
patch
|
blob
|
history
diff --git
a/sysdeps/m68k/Makefile
b/sysdeps/m68k/Makefile
index
ea0c7d5
..
12e9b56
100644
(file)
--- a/
sysdeps/m68k/Makefile
+++ b/
sysdeps/m68k/Makefile
@@
-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
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@@
-20,7
+20,10
@@
# way to choose a sysdep file based on MIT vs Motorola syntax.
# No existing m68k ports use Motorola syntax.
# 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
\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
m68k-syntax-flag = -DMIT_SYNTAX
endif
-asm-CPPFLAGS
:= $(asm-CPPFLAGS)
$(m68k-syntax-flag)
+asm-CPPFLAGS
+=
$(m68k-syntax-flag)