mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
Merge pull request #2771 from awiouy/90-strip
debug_strip: use strip in PKG_BUILD_FLAGS
This commit is contained in:
commit
5c61c7bff6
@ -912,7 +912,7 @@ debug_strip() {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${BUILD_WITH_DEBUG}" != "yes" ]; then
|
if [ "${BUILD_WITH_DEBUG}" != "yes" ] && flag_enabled "strip" "yes"; then
|
||||||
find $* -type f -executable | xargs $STRIP 2>/dev/null || :
|
find $* -type f -executable | xargs $STRIP 2>/dev/null || :
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
@ -124,6 +124,7 @@ Set the variable `PKG_BUILD_FLAGS` in the `package.mk` to enable/disable the sin
|
|||||||
| lto-off | disabled | target/init | explicitly disable LTO in the compiler and linker |
|
| lto-off | disabled | target/init | explicitly disable LTO in the compiler and linker |
|
||||||
| gold | depend on `GOLD_SUPPORT` | target/init | can only disabled, use of the GOLD-Linker |
|
| gold | depend on `GOLD_SUPPORT` | target/init | can only disabled, use of the GOLD-Linker |
|
||||||
| parallel | enabled | all | `make` or `ninja` builds with multiple threads/processes (or not) |
|
| parallel | enabled | all | `make` or `ninja` builds with multiple threads/processes (or not) |
|
||||||
|
| strip | enabled | target | strips executables (or not) |
|
||||||
|
|
||||||
###### Example
|
###### Example
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user