]> git.lizzy.rs Git - rust.git/commitdiff
install.mk: use INSTALL_LIB for all libraries
authorDaniel Micay <danielmicay@gmail.com>
Sun, 31 Mar 2013 23:14:02 +0000 (19:14 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Sun, 31 Mar 2013 23:14:02 +0000 (19:14 -0400)
There's no reason to make them executable, and this throws a warning
with the Arch Linux package lint tool (namcap) for .a files.

mk/install.mk

index 90679f0a116bf223c971226ca2a84eef32829866..fd7f44ddae57cc1ace28a5da1d7bd8434b7add95 100644 (file)
@@ -51,19 +51,19 @@ $(foreach target,$(CFG_TARGET_TRIPLES), \
 define INSTALL_TARGET_N
 install-target-$(1)-host-$(2): $$(TSREQ$$(ISTAGE)_T_$(1)_H_$(2)) $$(SREQ$$(ISTAGE)_T_$(1)_H_$(2))
        $$(Q)mkdir -p $$(PTL$(1)$(2))
-       $$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_RUNTIME_$(1)))
+       $$(Q)$$(call INSTALL_LIB,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_RUNTIME_$(1)))
        $$(Q)$$(call INSTALL_LIB, \
                $$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CORELIB_GLOB_$(1)))
        $$(Q)$$(call INSTALL_LIB, \
                $$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(STDLIB_GLOB_$(1)))
-       $$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),libmorestack.a)
+       $$(Q)$$(call INSTALL_LIB,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),libmorestack.a)
 
 endef
 
 define INSTALL_HOST_N
 install-target-$(1)-host-$(2): $$(CSREQ$$(ISTAGE)_T_$(1)_H_$(2))
        $$(Q)mkdir -p $$(PTL$(1)$(2))
-       $$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_RUNTIME_$(1)))
+       $$(Q)$$(call INSTALL_LIB,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CFG_RUNTIME_$(1)))
        $$(Q)$$(call INSTALL_LIB, \
                $$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(CORELIB_GLOB_$(1)))
        $$(Q)$$(call INSTALL_LIB, \
@@ -80,7 +80,7 @@ install-target-$(1)-host-$(2): $$(CSREQ$$(ISTAGE)_T_$(1)_H_$(2))
                $$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(LIBRUSTI_GLOB_$(1)))
        $$(Q)$$(call INSTALL_LIB, \
                $$(TL$(1)$(2)),$$(PTL$(1)$(2)),$$(LIBRUST_GLOB_$(1)))
-       $$(Q)$$(call INSTALL,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),libmorestack.a)
+       $$(Q)$$(call INSTALL_LIB,$$(TL$(1)$(2)),$$(PTL$(1)$(2)),libmorestack.a)
 
 endef