summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:33:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-04 00:33:54 +0000
commitf3cacffe54fb2644fcf6dee57b5768af4e32e797 (patch)
tree4dd45d30b15b64a2074d2aea15a1b26f493e55b1 /libc/sysdeps/linux
parent61044293e40d58523315342c0521eec46d1994c6 (diff)
downloaduClibc-alpine-f3cacffe54fb2644fcf6dee57b5768af4e32e797.tar.bz2
uClibc-alpine-f3cacffe54fb2644fcf6dee57b5768af4e32e797.tar.xz
Fix up build system for NPTL. I admit it is much cleaner now, but I lost my entire Saturday fixing this $!#$!#@$T! up.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/mips/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/libc/sysdeps/linux/mips/Makefile b/libc/sysdeps/linux/mips/Makefile
index 91da020dd..6d51205e9 100644
--- a/libc/sysdeps/linux/mips/Makefile
+++ b/libc/sysdeps/linux/mips/Makefile
@@ -60,14 +60,14 @@ $(COBJS): %.o : %.c
ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y)
crti.o: crti.S
- $(CC) $(ASFLAGS) -c crti.S -o crti.o
+ $(CC) $(ASFLAGS) $(SSP_DISABLE_FLAGS) -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) $(ASFLAGS) -c crtn.S -o crtn.o
+ $(CC) $(ASFLAGS) $(SSP_DISABLE_FLAGS) -c crtn.S -o crtn.o
$(TOPDIR)lib/crtn.o: crtn.o
$(INSTALL) -d $(TOPDIR)lib/
@@ -87,9 +87,5 @@ headers:
cp sysdep.h $(TOPDIR)/include/
clean:
- $(RM) *.[oa] *~ core
- $(RM) bits/sysnum.h
- $(RM) $(TOPDIR)/include/fpu_control.h
- $(RM) $(TOPDIR)/include/sgidefs.h
- $(RM) $(TOPDIR)/include/sysdep.h
- $(RM) $(TOPDIR)/include/sysdep-nptl.h
+ $(RM) *.o *~ core
+ $(RM) $(TOPDIR)/include/sgidefs.h $(TOPDIR)/include/sysdep.h