diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-20 09:12:42 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-20 09:12:42 +0000 |
commit | 516a518c9dfdbdc3c930626f8eeef3d0b4d71236 (patch) | |
tree | 8a004c2eaff5c1e55f17fe5880c631ade0fbf836 | |
parent | 63abaebc01df9185aa1a044611296d626a9eca1a (diff) |
- make sure to build crti and crtn with PICFLAG
-rw-r--r-- | libc/sysdeps/linux/Makefile.commonarch | 3 |
1 files changed, 3 insertions, 0 deletions
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) |