X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=blobdiff_plain;f=csu%2FMakefile;h=cb9e6eb6aa4528db4918b6d3b186093525365d05;hp=1c9ebb10039a1e4589981762781c2010dddf1036;hb=498ae94d188e914524ee6f6bcda3bf75809b1359;hpb=2d3579be616265dd378bbf4df4a49d49447f8c29 diff --git a/csu/Makefile b/csu/Makefile index 1c9ebb1003..cb9e6eb6aa 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -32,7 +32,6 @@ csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o) extra-objs = start.o gmon-start.o \ $(start-installed-name) g$(start-installed-name) \ $(csu-dummies) -before-compile = $(objpfx)abi-tag.h omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \ $(csu-dummies)) install-lib = $(start-installed-name) g$(start-installed-name) \ @@ -43,6 +42,9 @@ all: # Make this the default target; it will be defined in Rules. include ../Makeconfig +ifeq ($(elf),yes) +before-compile = $(objpfx)abi-tag.h +endif ifeq ($(have-initfini),yes) @@ -62,7 +64,7 @@ omit-deps += $(crtstuff) $(objpfx)crt%.o: $(objpfx)crt%.S $(objpfx)defs.h $(compile.S) -g0 $(ASFLAGS-.os) -o $@ -CFLAGS-initfini.s = -O0 -g0 -fPIC +CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(objpfx)initfini.s: initfini.c $(compile.c) -S $(CFLAGS-initfini.s) -finhibit-size-directive \