diff options
Diffstat (limited to 'ifenslave/Makefile')
-rw-r--r-- | ifenslave/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ifenslave/Makefile b/ifenslave/Makefile index 09c0e35..6d6aa6c 100644 --- a/ifenslave/Makefile +++ b/ifenslave/Makefile @@ -1,7 +1,7 @@ OBJS=ifenslave-1.0.11 ifenslave-1.0.12 ifenslave # include ../../include/rules.make include ../include/rules.make -CC=gcc +CC := $(CC_ORIG) CFLAGS+=-Wstrict-prototypes -I/usr/src/linux/include #CFLAGS+=-Wstrict-prototypes -I/usr/src/linux/include -momit-leaf-frame-pointer @@ -16,14 +16,14 @@ ifenslave: ifenslave-1.0.11: ifenslave-1.0.11.o $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< - strip -R .comment -R .note $@ - objdump -h $@ | grep -q '\.data[ ]*00000000' && strip -R .data $@ || true + $(STRIP) -x --strip-unneeded -R .comment -R .note $@ + $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true # sstrip $@ ifenslave-1.0.12: ifenslave-1.0.12.o $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $< - strip -R .comment -R .note $@ - objdump -h $@ | grep -q '\.data[ ]*00000000' && strip -R .data $@ || true + $(STRIP) -x --strip-unneeded -R .comment -R .note $@ + $(OBJDUMP) -h $@ | grep -q '\.data[ ]*00000000' && $(STRIP) -R .data $@ || true # sstrip $@ |