mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-02 21:48:20 +03:00
build: use find -perm /mode, instead of -perm +mode STRIP_FIND_CMD
The -perm +mode is deprecated, and sometimes yields suprising results. It can be confused with permission in symbolic mode, for example '+u+g', as POSIX spec suggests. Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
dad93df6e8
commit
88418bd2de
2
Makefile
2
Makefile
@@ -449,7 +449,7 @@ STRIP_FIND_CMD = find $(TARGET_DIR)
|
||||
ifneq (,$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS)))
|
||||
STRIP_FIND_CMD += \( $(call finddirclauses,$(TARGET_DIR),$(call qstrip,$(BR2_STRIP_EXCLUDE_DIRS))) \) -prune -o
|
||||
endif
|
||||
STRIP_FIND_CMD += -type f -perm +111
|
||||
STRIP_FIND_CMD += -type f -perm /111
|
||||
STRIP_FIND_CMD += -not \( $(call findfileclauses,libpthread*.so* $(call qstrip,$(BR2_STRIP_EXCLUDE_FILES))) \) -print
|
||||
|
||||
target-finalize:
|
||||
|
||||
Reference in New Issue
Block a user