Skip to content

Commit

Permalink
disable lto
Browse files Browse the repository at this point in the history
this avoids following error in test recipe:
libcivetweb-cpp.a: error adding symbols: Archive has no index; run ranlib to add one
  • Loading branch information
ericLemanissier authored Mar 18, 2021
1 parent 54ffc53 commit 7a3a92d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions recipes/civetweb/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def _configure_cmake(self):
self._cmake.definitions["CIVETWEB_ENABLE_CXX"] = self.options.with_cxx
self._cmake.definitions["CIVETWEB_BUILD_TESTING"] = False
self._cmake.definitions["CIVETWEB_ENABLE_ASAN"] = False
self._cmake.definitions["CIVETWEB_CXX_ENABLE_LTO"] = False
self._cmake.configure(build_dir=self._build_subfolder)
return self._cmake

Expand Down

0 comments on commit 7a3a92d

Please sign in to comment.