aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-01-05 17:14:17 +0000
committerAndreas Schwab <schwab@suse.de>2003-01-05 17:14:17 +0000
commitc0713cc0e035f0dc7d638102838972fb7f2a746f (patch)
tree10e5dbfa81419e6afeb38ae34341f4dad66962a1
parent2bf8a54e871bb3eebbcbf2293d7b180cf2a153b6 (diff)
downloadglibc-c0713cc0e035f0dc7d638102838972fb7f2a746f.tar.xz
glibc-c0713cc0e035f0dc7d638102838972fb7f2a746f.zip
(CFLAGS-.oS): Append -fPIC.
-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