package/zstd: observe Buildroot optimisation flags
authorNorbert Lange <nolange79@gmail.com>
Thu, 17 Jun 2021 09:14:54 +0000 (11:14 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 4 Aug 2021 14:28:50 +0000 (16:28 +0200)
commit8d56423d3d2308c620e61a952e36999c89e4d682
tree08e960b0f1dda53589d24a03b766c89533068183
parent8dfd7a1f903d86584e7942ead1ad79e0185a3391
package/zstd: observe Buildroot optimisation flags

Use Buildroot's setting for optimization, zstd's build system
overrides CFLAGS (adds -O3), but MOREFLAGS can override again.
Quick tests show that using -O2 (like buildroot)
is actually a little faster than -O3 on x86_64 Atoms.

Disable the legacy format, these are just needed for
decompressing files created with pre-release version.

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/zstd/zstd.mk