Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From 52879439f2976662140b76951f43f16e1d5ef08e Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Mon, 18 Mar 2019 23:23:55 -0400 |
| 4 | Subject: [PATCH] explicitly set compile options |
| 5 | |
| 6 | OE does not support to install egg package, so |
| 7 | explicitly set build_ext options for oe-core's |
| 8 | `setup.py install' |
| 9 | |
| 10 | Upstream-Status: Inappropriate [oe specific] |
| 11 | |
| 12 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
| 13 | --- |
| 14 | setup.cfg | 12 ++++++++++++ |
| 15 | 1 file changed, 12 insertions(+) |
| 16 | |
| 17 | diff --git a/setup.cfg b/setup.cfg |
| 18 | index 95900ff..27da313 100644 |
| 19 | --- a/setup.cfg |
| 20 | +++ b/setup.cfg |
| 21 | @@ -9,3 +9,15 @@ addopts = -vx Tests |
| 22 | |
| 23 | [flake8] |
| 24 | max-line-length = 88 |
| 25 | + |
| 26 | +[build_ext] |
| 27 | +disable-platform-guessing = 1 |
| 28 | +enable-zlib = 1 |
| 29 | +enable-jpeg = 1 |
| 30 | +enable-tiff = 1 |
| 31 | +enable-freetype = 1 |
| 32 | +enable-lcms = 1 |
| 33 | +enable-jpeg2000 = 1 |
| 34 | +disable-webp = 1 |
| 35 | +disable-webpmux = 1 |
| 36 | +disable-imagequant = 1 |
| 37 | -- |
| 38 | 2.8.1 |
| 39 | |