(CFLAGS-.oS): Append -fPIC.
This commit is contained in:
parent
2bf8a54e87
commit
c0713cc0e0
@ -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.
|
# This file is part of the GNU C Library.
|
||||||
|
|
||||||
# The GNU C Library is free software; you can redistribute it and/or
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -26,6 +26,7 @@ endif
|
|||||||
asm-CPPFLAGS += $(m68k-syntax-flag)
|
asm-CPPFLAGS += $(m68k-syntax-flag)
|
||||||
|
|
||||||
pic-ccflag = -fpic
|
pic-ccflag = -fpic
|
||||||
|
CFLAGS-.oS += -fPIC
|
||||||
|
|
||||||
# Make sure setjmp.c is compiled with a frame pointer
|
# Make sure setjmp.c is compiled with a frame pointer
|
||||||
CFLAGS-setjmp.c := -fno-omit-frame-pointer
|
CFLAGS-setjmp.c := -fno-omit-frame-pointer
|
||||||
@ -36,8 +37,3 @@ long-double-fcts = yes
|
|||||||
ifeq ($(subdir),elf)
|
ifeq ($(subdir),elf)
|
||||||
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
|
CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(subdir),math)
|
|
||||||
# Avoid a bug in gcc
|
|
||||||
CFLAGS-s_copysignl.c += -mnobitfield
|
|
||||||
endif
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user