From c0713cc0e035f0dc7d638102838972fb7f2a746f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 5 Jan 2003 17:14:17 +0000 Subject: [PATCH] (CFLAGS-.oS): Append -fPIC. --- sysdeps/m68k/Makefile | 8 ++------ 1 file 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