diff options
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/internals/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/pthread/Makefile | 4 | ||||
-rw-r--r-- | libc/misc/syslog/Makefile | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/libc/misc/internals/Makefile b/libc/misc/internals/Makefile index fa34ccf89..23816b38d 100644 --- a/libc/misc/internals/Makefile +++ b/libc/misc/internals/Makefile @@ -45,11 +45,11 @@ interp.c: Makefile echo "#endif" >> interp.c interp.o: interp.c - $(CC) $(CFLAGS) $(PT_INCLUDES) -c $< -o $@ + $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o $(COBJS): %.o : %.c - $(CC) $(CFLAGS) $(PT_INCLUDES) -c $< -o $@ + $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o clean: diff --git a/libc/misc/pthread/Makefile b/libc/misc/pthread/Makefile index cee80a9ac..e222e1442 100644 --- a/libc/misc/pthread/Makefile +++ b/libc/misc/pthread/Makefile @@ -19,8 +19,6 @@ TOPDIR=../../../ include $(TOPDIR)Rules.mak -CFLAGS += $(PT_INCLUDES) - CSRC=no-tsd.c weaks.c COBJS=$(patsubst %.c,%.o, $(CSRC)) OBJS=$(COBJS) @@ -33,7 +31,7 @@ $(OBJ_LIST): $(OBJS) echo $(patsubst %, misc/pthread/%, $(OBJS)) > $(OBJ_LIST) $(COBJS): %.o : %.c - $(CC) $(CFLAGS) -c $< -o $@ + $(CC) $(CFLAGS) $(PTINC) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o clean: diff --git a/libc/misc/syslog/Makefile b/libc/misc/syslog/Makefile index 3ddd2737b..35e755e40 100644 --- a/libc/misc/syslog/Makefile +++ b/libc/misc/syslog/Makefile @@ -36,7 +36,7 @@ $(OBJ_LIST): $(OBJS) echo $(patsubst %, misc/syslog/%, $(OBJS)) > $(OBJ_LIST) $(COBJS): %.o : %.c - $(CC) $(CFLAGS) $(PT_INCLUDES) -c $< -o $@ + $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o clean: |