summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makerules5
-rw-r--r--libcrypt/Makefile.in2
-rw-r--r--libutil/Makefile.in2
3 files changed, 6 insertions, 3 deletions
diff --git a/Makerules b/Makerules
index 8ec9c3c58..95acacc7b 100644
--- a/Makerules
+++ b/Makerules
@@ -82,8 +82,10 @@ disp_ld = $($(DISP)_disp_ld)
cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(^D))) $(CFLAGS-$(subst $(top_srcdir),,$(dir $<))) $(CFLAGS-$(notdir $<)) $(CFLAGS-$(notdir $@))
cmd_compile.S = $(cmd_compile.c) $(ASFLAGS) $(ARCH_ASFLAGS) $(ASFLAGS-$(suffix $@)) $(ASFLAGS-$(notdir $<)) $(ASFLAGS-$(notdir $@))
cmd_compile.m = $(cmd_compile.c) -DL_$(patsubst %$(suffix $(notdir $@)),%,$(notdir $@))
-cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) $(CFLAGS-multi-y)
+cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@))
+#cmd_compile-m = $(CC) $^ -c -o $@ $(CFLAGS) $(ARCH_CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(notdir $(@D))) $(CFLAGS-$(notdir $@)) $(CFLAGS-multi-y)
cmd_strip = $(STRIPTOOL) $(STRIP_FLAGS) $^
+cmd_t_strip = $(STRIPTOOL) $(STRIP_FLAGS) $@
cmd_ar = $(AR) $(ARFLAGS) $@ $^
compile.c = @$(disp_compile.c) ; $(cmd_compile.c)
@@ -93,6 +95,7 @@ compile.S = @$(disp_compile.S) ; $(cmd_compile.S)
compile.m = @$(disp_compile.m) ; $(cmd_compile.m)
compile-m = @$(disp_compile-m) ; $(cmd_compile-m)
do_strip = @$(disp_strip) ; $(cmd_strip)
+do_t_strip= @$(disp_strip) ; $(cmd_t_strip)
do_ar = @$(disp_ar) ; $(cmd_ar)
define compile.u
diff --git a/libcrypt/Makefile.in b/libcrypt/Makefile.in
index 7ff27ae8b..6e77e7383 100644
--- a/libcrypt/Makefile.in
+++ b/libcrypt/Makefile.in
@@ -53,7 +53,7 @@ $(libcrypt_OUT)/libcrypt_so.a: $(libcrypt-so-y)
$(libcrypt_OUT)/libcrypt.oS: $(libcrypt_SRC)
$(Q)$(RM) $@
$(compile-m)
- $(Q)$(STRIPTOOL) $(STRIP_FLAGS) $@
+ $(do_t_strip)
$(top_builddir)lib/libcrypt.a: $(libcrypt-a-y)
$(Q)$(INSTALL) -d $(dir $@)
diff --git a/libutil/Makefile.in b/libutil/Makefile.in
index 6569e87ae..9aae3df99 100644
--- a/libutil/Makefile.in
+++ b/libutil/Makefile.in
@@ -55,7 +55,7 @@ $(libutil_OUT)/libutil_so.a: $(libutil-so-y)
$(libutil_OUT)/libutil.oS: $(libutil_SRC)
$(Q)$(RM) $@
$(compile-m)
- $(Q)$(STRIPTOOL) $(STRIP_FLAGS) $@
+ $(do_t_strip)
$(top_builddir)lib/libutil.a: $(libutil-a-y)
$(Q)$(INSTALL) -d $(dir $@)