From 99d578d0b675af03c77e3925656658cdc6229cee Mon Sep 17 00:00:00 2001 From: John Marshall Date: Tue, 9 May 2023 14:26:14 +1200 Subject: [PATCH] Override bedtools's CXXFLAGS to avoid -g Remove BT_CXXFLAGS from bioconda's build settings. We do not want -g as that bloats the executables (on Linux especially), and we do not need -O2 as conda-build's CXXFLAGS already provides suitable optimisation settings. --- recipes/bedtools/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/bedtools/build.sh b/recipes/bedtools/build.sh index 15dc0d6769542..737220bce19c0 100644 --- a/recipes/bedtools/build.sh +++ b/recipes/bedtools/build.sh @@ -3,4 +3,4 @@ export CPLUS_INCLUDE_PATH=${PREFIX}/include export C_INCLUDE_PATH=${PREFIX}/include if test -d bedtools2; then echo Hoisting prevented by .*; cd bedtools2; fi -make install prefix=$PREFIX CXX=$CXX CC=$CC LDFLAGS="-L$PREFIX/lib" +make install prefix=$PREFIX CXX=$CXX CC=$CC LDFLAGS="-L$PREFIX/lib" BT_CXXFLAGS=