From 516a518c9dfdbdc3c930626f8eeef3d0b4d71236 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Fri, 20 Jun 2008 09:12:42 +0000 Subject: - make sure to build crti and crtn with PICFLAG --- libc/sysdeps/linux/Makefile.commonarch | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/sysdeps') diff --git a/libc/sysdeps/linux/Makefile.commonarch b/libc/sysdeps/linux/Makefile.commonarch index ff3e90aa7..1c616ec4a 100644 --- a/libc/sysdeps/linux/Makefile.commonarch +++ b/libc/sysdeps/linux/Makefile.commonarch @@ -20,6 +20,9 @@ libc-y += $(ARCH_OBJS) libc-nomulti-y += $(ARCH_SOBJ) objclean-y += arch_objclean +CFLAGS-crti.S+=$(PICFLAG) +CFLAGS-crtn.S+=$(PICFLAG) + arch_objclean: $(RM) $(ARCH_OUT)/*.{o,os} $(CTOR_TARGETS) $(CRTS) -- cgit v1.2.3