blob: 35aee421455a2504888556ce2849f412d815c79e [file] [log] [blame]
Brad Bishop868407c2019-11-04 13:24:47 -05001From 862a981ce462cd83a99e3db9faeeda1f8c64983f Mon Sep 17 00:00:00 2001
Brad Bishop19323692019-04-05 15:28:33 -04002From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 18 Mar 2019 23:23:55 -0400
4Subject: [PATCH] explicitly set compile options
5
6OE does not support to install egg package, so
7explicitly set build_ext options for oe-core's
8`setup.py install'
9
10Upstream-Status: Inappropriate [oe specific]
11
12Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Brad Bishop868407c2019-11-04 13:24:47 -050013
Brad Bishop19323692019-04-05 15:28:33 -040014---
15 setup.cfg | 12 ++++++++++++
16 1 file changed, 12 insertions(+)
17
18diff --git a/setup.cfg b/setup.cfg
Brad Bishop868407c2019-11-04 13:24:47 -050019index 1c6ebc84..1ccc3d69 100644
Brad Bishop19323692019-04-05 15:28:33 -040020--- a/setup.cfg
21+++ b/setup.cfg
Brad Bishop868407c2019-11-04 13:24:47 -050022@@ -13,3 +13,15 @@ multi_line_output = 3
23
24 [tool:pytest]
25 addopts = -rs
Brad Bishop19323692019-04-05 15:28:33 -040026+
27+[build_ext]
28+disable-platform-guessing = 1
29+enable-zlib = 1
30+enable-jpeg = 1
31+enable-tiff = 1
32+enable-freetype = 1
33+enable-lcms = 1
34+enable-jpeg2000 = 1
35+disable-webp = 1
36+disable-webpmux = 1
37+disable-imagequant = 1