diff options
author | John Crispin <john@openwrt.org> | 2014-06-02 12:44:13 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-06-02 12:44:13 +0000 |
commit | 3936ed402896c4e35ba9a84cc31f92feecb0a139 (patch) | |
tree | 3c2e635490d0f7f3f8b6d7d7e05feeba57474d87 | |
parent | 14421bd7fbc53ced274d758fe3d6fe53ee8c7b20 (diff) | |
download | mtk-20170518-3936ed402896c4e35ba9a84cc31f92feecb0a139.zip mtk-20170518-3936ed402896c4e35ba9a84cc31f92feecb0a139.tar.gz mtk-20170518-3936ed402896c4e35ba9a84cc31f92feecb0a139.tar.bz2 |
package/Makefile: Substituted deprecated -perm +mode with -perm /mode
The find(1) -perm +mode is no longer supported and has been deprecated since
2005.
This could resolve #13855 ticket.
Signed-off-by: Rocco Folino <lordzen87@gmail.com>
SVN-Revision: 40927
-rw-r--r-- | package/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile index e189e37..1930d27 100644 --- a/package/Makefile +++ b/package/Makefile @@ -26,7 +26,7 @@ ifdef CONFIG_USE_MKLIBS define mklibs rm -rf $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-out # first find all programs and add them to the mklibs list - find $(STAGING_DIR_ROOT) -type f -perm +100 -exec \ + find $(STAGING_DIR_ROOT) -type f -perm /100 -exec \ file -r -N -F '' {} + | \ awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs # find all loadable objects that are not regular libraries and add them to the list as well |