diff options
-rw-r--r-- | meta/recipes-support/libproxy/libproxy-0.4.3/disable_Os_option.patch | 17 | ||||
-rw-r--r-- | meta/recipes-support/libproxy/libproxy_0.4.6.bb (renamed from meta/recipes-support/libproxy/libproxy_0.4.3.bb) | 5 |
2 files changed, 2 insertions, 20 deletions
diff --git a/meta/recipes-support/libproxy/libproxy-0.4.3/disable_Os_option.patch b/meta/recipes-support/libproxy/libproxy-0.4.3/disable_Os_option.patch deleted file mode 100644 index cdf6ff6f52..0000000000 --- a/meta/recipes-support/libproxy/libproxy-0.4.3/disable_Os_option.patch +++ /dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | Do not set Os optimization in target APP CFLAGS, since it may have potential | ||
2 | error if "--enable-target-optspace" is not set when configuring GCC. | ||
3 | |||
4 | Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> | ||
5 | |||
6 | diff -ruN libproxy-0.4.3-orig/CMakeLists.txt libproxy-0.4.3/CMakeLists.txt | ||
7 | --- libproxy-0.4.3-orig/CMakeLists.txt 2010-09-21 17:16:06.000000000 +0800 | ||
8 | +++ libproxy-0.4.3/CMakeLists.txt 2010-09-21 17:16:40.000000000 +0800 | ||
9 | @@ -61,7 +61,7 @@ | ||
10 | add_definitions(-D_CRT_SECURE_NO_WARNINGS=1) | ||
11 | else() | ||
12 | add_definitions(-D_POSIX_C_SOURCE=1) | ||
13 | - set(CMAKE_CXX_FLAGS "-g -Wall -Werror -fvisibility=hidden -Os ${CMAKE_CXX_FLAGS}") | ||
14 | + set(CMAKE_CXX_FLAGS "-g -Wall -Werror -fvisibility=hidden -O2 ${CMAKE_CXX_FLAGS}") | ||
15 | endif() | ||
16 | |||
17 | ### Subdirectories | ||
diff --git a/meta/recipes-support/libproxy/libproxy_0.4.3.bb b/meta/recipes-support/libproxy/libproxy_0.4.6.bb index ffa06f636a..b317eb2793 100644 --- a/meta/recipes-support/libproxy/libproxy_0.4.3.bb +++ b/meta/recipes-support/libproxy/libproxy_0.4.6.bb | |||
@@ -9,10 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \ | |||
9 | 9 | ||
10 | DEPENDS = "virtual/libx11 xmu gconf-dbus" | 10 | DEPENDS = "virtual/libx11 xmu gconf-dbus" |
11 | 11 | ||
12 | SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ | 12 | SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz" |
13 | file://disable_Os_option.patch" | ||
14 | 13 | ||
15 | PR = "r2" | 14 | PR = "r0" |
16 | 15 | ||
17 | inherit cmake pkgconfig | 16 | inherit cmake pkgconfig |
18 | 17 | ||