--- libproxy-0.4.11.old/CMakeLists.txt +++ libproxy-0.4.11/CMakeLists.txt @@ -55,3 +55,5 @@ add_subdirectory(libproxy) add_subdirectory(utils) +set (CMAKE_C_FLAGS_RELEASE "-fPIC -O3") +set (CMAKE_CXX_FLAGS_RELEASE "-fPIC -O3")