Skip to content

Commit

Permalink
Override bedtools's CXXFLAGS to avoid -g
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jmarshall committed May 9, 2023
1 parent 1c71ade commit 99d578d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/bedtools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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=

0 comments on commit 99d578d

Please sign in to comment.