libproxy: Upgraded to version 0.4.6

Remove the disable_Os_option.patch since the latest code doesn't
use Os option.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
This commit is contained in:
Dongxiao Xu
2010-11-16 10:02:17 +08:00
committed by Saul Wold
parent 7d0a0f95e9
commit bfc2842237
2 changed files with 2 additions and 20 deletions

View File

@@ -1,17 +0,0 @@
Do not set Os optimization in target APP CFLAGS, since it may have potential
error if "--enable-target-optspace" is not set when configuring GCC.
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
diff -ruN libproxy-0.4.3-orig/CMakeLists.txt libproxy-0.4.3/CMakeLists.txt
--- libproxy-0.4.3-orig/CMakeLists.txt 2010-09-21 17:16:06.000000000 +0800
+++ libproxy-0.4.3/CMakeLists.txt 2010-09-21 17:16:40.000000000 +0800
@@ -61,7 +61,7 @@
add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)
else()
add_definitions(-D_POSIX_C_SOURCE=1)
- set(CMAKE_CXX_FLAGS "-g -Wall -Werror -fvisibility=hidden -Os ${CMAKE_CXX_FLAGS}")
+ set(CMAKE_CXX_FLAGS "-g -Wall -Werror -fvisibility=hidden -O2 ${CMAKE_CXX_FLAGS}")
endif()
### Subdirectories

View File

@@ -9,10 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7d7044444a7b1b116e8783edcdb44ff4 \
DEPENDS = "virtual/libx11 xmu gconf-dbus"
SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \
file://disable_Os_option.patch"
SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz"
PR = "r2"
PR = "r0"
inherit cmake pkgconfig