diff options
author | Yen Chi Hsuan | 2015-07-17 03:46:27 +0800 |
---|---|---|
committer | Yen Chi Hsuan | 2015-07-17 03:46:27 +0800 |
commit | c85495f40d77d12828810a21e4d5ef427a415fe2 (patch) | |
tree | d7bbc2797bc062a841c9c9015387af9d511785b4 | |
parent | df938afcca273179f2bc7d0fd7e0483a3b5473ec (diff) | |
download | aur-c85495f40d77d12828810a21e4d5ef427a415fe2.tar.gz |
Remove unused files
-rw-r--r-- | mcrouter-explicit-initialize-const-variable.patch | 13 | ||||
-rw-r--r-- | use-libstdc++.patch | 24 |
2 files changed, 0 insertions, 37 deletions
diff --git a/mcrouter-explicit-initialize-const-variable.patch b/mcrouter-explicit-initialize-const-variable.patch deleted file mode 100644 index 4912f2dbf0f0..000000000000 --- a/mcrouter-explicit-initialize-const-variable.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/mcrouter/lib/config/ConfigPreprocessor.cpp b/mcrouter/lib/config/ConfigPreprocessor.cpp -index aa182f1..d4b7004 100644 ---- a/mcrouter/lib/config/ConfigPreprocessor.cpp -+++ b/mcrouter/lib/config/ConfigPreprocessor.cpp -@@ -161,7 +161,7 @@ size_t unescapeUntil(StringPiece from, string& to, char c) { - - } // namespace - --const ConfigPreprocessor::Context ConfigPreprocessor::emptyContext_; -+const ConfigPreprocessor::Context ConfigPreprocessor::emptyContext_ = {}; - - ///////////////////////////////Macro//////////////////////////////////////////// - diff --git a/use-libstdc++.patch b/use-libstdc++.patch deleted file mode 100644 index 9e5077a7616c..000000000000 --- a/use-libstdc++.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/CMake/FollySetup.cmake b/CMake/FollySetup.cmake -index 4d9fbd8..acb08e0 100644 ---- a/CMake/FollySetup.cmake -+++ b/CMake/FollySetup.cmake -@@ -46,5 +46,5 @@ if(CYGWIN) - endif() - - if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") -- add_definitions("-DFOLLY_USE_LIBCPP=1") -+# add_definitions("-DFOLLY_USE_LIBCPP=1") - endif() -diff --git a/CMake/HPHPCompiler.cmake b/CMake/HPHPCompiler.cmake -index 31d8309..6a51574 100644 ---- a/CMake/HPHPCompiler.cmake -+++ b/CMake/HPHPCompiler.cmake -@@ -38,7 +38,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -g") - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LLVM_OPT} -w") -- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++11 -stdlib=libc++ -fno-omit-frame-pointer -Woverloaded-virtual -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -fno-operator-names -Wno-error=array-bounds -Wno-error=switch -Werror=format-security -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-mismatched-tags -Wno-unknown-warning-option -Wno-return-type-c-linkage -Qunused-arguments ${LLVM_OPT}") -+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++11 -stdlib=libstdc++ -fno-omit-frame-pointer -Woverloaded-virtual -Wno-deprecated -Wno-strict-aliasing -Wno-write-strings -Wno-invalid-offsetof -fno-operator-names -Wno-error=array-bounds -Wno-error=switch -Werror=format-security -Wno-unused-result -Wno-sign-compare -Wno-attributes -Wno-maybe-uninitialized -Wno-mismatched-tags -Wno-unknown-warning-option -Wno-return-type-c-linkage -Qunused-arguments ${LLVM_OPT}") - # using GCC - elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") - execute_process(COMMAND ${CMAKE_CXX_COMPILER} ${CMAKE_CXX_COMPILER_ARG1} -dumpversion OUTPUT_VARIABLE GCC_VERSION) |