aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/zlib/Config.in
diff options
context:
space:
mode:
authorDaniel Engberg <daniel.engberg.lists@pyret.net>2017-09-05 19:31:10 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-01-02 17:11:12 +0100
commit0dd439141da0fc1a7938ee06f7be3924c73ba716 (patch)
tree6925867e448ad5804a77fe05786fbc6aaf7acadb /package/libs/zlib/Config.in
parent3acecba5209984e43397bc0eaa96822ccacb5712 (diff)
downloadupstream-0dd439141da0fc1a7938ee06f7be3924c73ba716.tar.gz
upstream-0dd439141da0fc1a7938ee06f7be3924c73ba716.tar.bz2
upstream-0dd439141da0fc1a7938ee06f7be3924c73ba716.zip
package/libs/zlib: Add option for O3 optimization
Add option to use O3 optimization as not all devices have space constraints. This option is default using GCC in upstream but isn't in the CMake makefile for some reason. Source: https://github.com/madler/zlib/blob/master/configure#L170 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Diffstat (limited to 'package/libs/zlib/Config.in')
-rw-r--r--package/libs/zlib/Config.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/zlib/Config.in b/package/libs/zlib/Config.in
new file mode 100644
index 0000000000..64b835e77a
--- /dev/null
+++ b/package/libs/zlib/Config.in
@@ -0,0 +1,11 @@
+menu "Configuration"
+ depends on PACKAGE_zlib
+
+config ZLIB_OPTIMIZE_SPEED
+ bool "Optimize for speed"
+ help
+ This enables additional optimization and
+ increases performance considerably at
+ the expense of binary size.
+
+endmenu