summary refs log tree commit diff
path: root/sysdeps/m68k/Makefile
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-01-05 17:16:17 +0000
committerAndreas Schwab <schwab@suse.de>2003-01-05 17:16:17 +0000
commitc711d9d22a2ca6730116b7398870ed1e7be23ce2 (patch)
treef101bd4d80ef771fa80f0c3f47ac77942067c40d /sysdeps/m68k/Makefile
parentc52a5fb98e4f5b00a8836dda2ad7cac40f38a2fc (diff)
downloadglibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.tar.gz
glibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.tar.xz
glibc-c711d9d22a2ca6730116b7398870ed1e7be23ce2.zip
* sysdeps/m68k/Makefile (CFLAGS-.oS): Append -fPIC.
Diffstat (limited to 'sysdeps/m68k/Makefile')
-rw-r--r--sysdeps/m68k/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile
index c44b2d196c..68dc258406 100644
--- a/sysdeps/m68k/Makefile
+++ b/sysdeps/m68k/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1993, 1994, 1996, 1997, 2003 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
@@ -26,6 +26,7 @@ endif
 asm-CPPFLAGS += $(m68k-syntax-flag)
 
 pic-ccflag = -fpic
+CFLAGS-.oS += -fPIC
 
 # Make sure setjmp.c is compiled with a frame pointer
 CFLAGS-setjmp.c := -fno-omit-frame-pointer
@@ -36,8 +37,3 @@ long-double-fcts = yes
 ifeq ($(subdir),elf)
 CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
 endif
-
-ifeq ($(subdir),math)
-# Avoid a bug in gcc
-CFLAGS-s_copysignl.c += -mnobitfield
-endif