summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/m68k/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-11-22 21:22:28 +0000
committerEric Andersen <andersen@codepoet.org>2003-11-22 21:22:28 +0000
commit498d8099a6e4163798d327c9cc727fa0282bd716 (patch)
treee9f26ad78124b3d0370f899e7a86531937e771b6 /libc/sysdeps/linux/m68k/Makefile
parentc2fa5c137dd69c88ff32be1bb910a23b86c5938a (diff)
Remove SAFECFLAGS. It was a workaround for failures in old awk script
used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
Diffstat (limited to 'libc/sysdeps/linux/m68k/Makefile')
-rw-r--r--libc/sysdeps/linux/m68k/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/m68k/Makefile b/libc/sysdeps/linux/m68k/Makefile
index e8421b306..f4d6d1527 100644
--- a/libc/sysdeps/linux/m68k/Makefile
+++ b/libc/sysdeps/linux/m68k/Makefile
@@ -39,12 +39,6 @@ COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(SOBJS) $(MOBJ) $(COBJS)
-ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y)
-SAFECFLAGS += $(call check_gcc,-msoft-float,)
-endif
-
-
-
all: $(OBJS) $(LIBC)
$(LIBC): ar-target
@@ -67,14 +61,14 @@ $(COBJS): %.o : %.c
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
crti.o: crti.S
- $(CC) $(SAFECFLAGS) -c crti.S -o crti.o
+ $(CC) $(CFLAGS) -c crti.S -o crti.o
$(TOPDIR)lib/crti.o: crti.o
$(INSTALL) -d $(TOPDIR)lib/
cp crti.o $(TOPDIR)lib/
crtn.o: crtn.S
- $(CC) $(SAFECFLAGS) -c crtn.S -o crtn.o
+ $(CC) $(CFLAGS) -c crtn.S -o crtn.o
$(TOPDIR)lib/crtn.o: crtn.o
$(INSTALL) -d $(TOPDIR)lib/