From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch (limited to 'sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch') diff --git a/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch b/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch new file mode 100644 index 000000000000..490dd58907df --- /dev/null +++ b/sci-chemistry/avogadro/files/avogadro-1.1.1-no-strip.patch @@ -0,0 +1,12 @@ +diff -up avogadro-1.1.1/CMakeLists.txt.no-strip avogadro-1.1.1/CMakeLists.txt +--- avogadro-1.1.1/CMakeLists.txt.no-strip 2014-01-24 23:14:44.473840038 -0600 ++++ avogadro-1.1.1/CMakeLists.txt 2014-01-24 23:15:46.869166459 -0600 +@@ -114,7 +114,7 @@ if (CMAKE_COMPILER_IS_GNUCXX) + endif() + # Set up additional build flags for particular build types. These will be added to CMAKE_CXX_FLAGS, + # they will not replace them. +- set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT -Wl,-s") ++ set(CMAKE_CXX_FLAGS_RELEASE "-O2 -DNDEBUG -DQT_NO_DEBUG_OUTPUT") + set(CMAKE_CXX_FLAGS_RELWITHDEBINFO + "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} ${CMAKE_CXX_FLAGS_WARN}") + set(CMAKE_CXX_FLAGS_DEBUG "-g3 -fno-inline ${CMAKE_CXX_FLAGS_WARN}") -- cgit v1.2.3