summaryrefslogtreecommitdiff
path: root/libc/termios
diff options
context:
space:
mode:
Diffstat (limited to 'libc/termios')
-rw-r--r--libc/termios/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/termios/Makefile b/libc/termios/Makefile
index 983567ab7..2ed6b7c5f 100644
--- a/libc/termios/Makefile
+++ b/libc/termios/Makefile
@@ -43,8 +43,11 @@ ar-target: $(OBJS)
$(MOBJ): $(MSRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
-$(OBJS): Makefile
+$(COBJS):
+ $(CC) $(CFLAGS) $< -c $*.c -o $*.o
+ $(STRIPTOOL) -x -R .note -R .comment $*.o
clean:
rm -f *.[oa] *~ core