summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-16 10:56:26 +0000
committerRoland McGrath <roland@gnu.org>2005-02-16 10:56:26 +0000
commitf6bb5fdb816a1d98c8419a3b214146739448e5cd (patch)
treed8697fb1e06fc0cdf0c15e27bf7a347457fce80b
parente3beafe1e041e276b3e5f5310289b4adc0a8f18c (diff)
2005-01-22 Ulrich Drepper <drepper@redhat.com>
* posix/Makefile: Use CFLAGS-*.os instead of CFLAGS-*.c for frame pointer option. * stdlib/Makefile (CFLAGS-system.os): Use this instead of CFLAGS-system.c for frame pointer option. 2005-01-20 Ulrich Drepper <drepper@redhat.com> * posix/Makefile: Add -fomit-frame-pointer for a few more files. * stdlib/Makefile: Likewise.
-rw-r--r--posix/Makefile11
-rw-r--r--stdlib/Makefile1
2 files changed, 12 insertions, 0 deletions
diff --git a/posix/Makefile b/posix/Makefile
index bdd3e71cca..a4f85a9444 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -139,16 +139,27 @@ CFLAGS-waitid.c = -fexceptions
CFLAGS-waitpid.c = -fexceptions -fasynchronous-unwind-tables
CFLAGS-getopt.c = -fexceptions
CFLAGS-wordexp.c = -fexceptions
+CFLAGS-wordexp.os = -fomit-frame-pointer
CFLAGS-sysconf.c = -fexceptions -DGETCONF_DIR='"$(libexecdir)/getconf"'
CFLAGS-pathconf.c = -fexceptions
CFLAGS-fpathconf.c = -fexceptions
CFLAGS-spawn.c = -fexceptions
+CFLAGS-spawn.os = -fomit-frame-pointer
CFLAGS-spawnp.c = -fexceptions
+CFLAGS-spawnp.os = -fomit-frame-pointer
CFLAGS-spawni.c = -fexceptions
+CFLAGS-spawni.os = -fomit-frame-pointer
CFLAGS-pause.c = -fexceptions
CFLAGS-glob.c = $(uses-callbacks) -fexceptions
CFLAGS-glob64.c = $(uses-callbacks) -fexceptions
CFLAGS-getconf.c = -DGETCONF_DIR='"$(libexecdir)/getconf"'
+CFLAGS-execve.os = -fomit-frame-pointer
+CFLAGS-fexecve.os = -fomit-frame-pointer
+CFLAGS-execv.os = -fomit-frame-pointer
+CFLAGS-execle.os = -fomit-frame-pointer
+CFLAGS-execl.os = -fomit-frame-pointer
+CFLAGS-execvp.os = -fomit-frame-pointer
+CFLAGS-execlp.os = -fomit-frame-pointer
tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
--none random --col --color --colour
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 8e9ef28cb4..cdf5a91bd0 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -92,6 +92,7 @@ CFLAGS-bsearch.c = $(uses-callbacks)
CFLAGS-msort.c = $(uses-callbacks)
CFLAGS-qsort.c = $(uses-callbacks)
CFLAGS-system.c = -fexceptions
+CFLAGS-system.os = -fomit-frame-pointer
CFLAGS-fmtmsg.c = -fexceptions
ifneq (,$(filter %REENTRANT, $(defines)))