summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-28 05:07:08 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-28 05:07:08 +0000
commit41d42afb343e3c2895488646768eca30de74f853 (patch)
tree5a7cf725b5ed158d947cc960091081ca268e3987 /Makerules
parentff3f4611992f1447a660174215bf9b678caf48d5 (diff)
touchup how we generate initfini.s
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index be52e247f..4ca0da99d 100644
--- a/Makerules
+++ b/Makerules
@@ -203,8 +203,9 @@ CTOR_TARGETS:=
endif
ifneq ($(wildcard $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/initfini.c),)
+CFLAGS-initfini.s := -S -g0 $(PICFLAG) -fno-inline-functions -finhibit-size-directive
$(top_builddir)lib/initfini.s: $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)/initfini.c
- $(compile.c) -S -finhibit-size-directive
+ $(compile.c)
$(top_builddir)lib/defs.h: $(top_builddir)lib/initfini.s
$(Q)sed -n -e '/@TESTS_BEGIN/,/@TESTS_END/p' $< | \