Skip to content

Commit

Permalink
Manipulate makefile directly
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Dec 4, 2019
1 parent 692ff62 commit 174f6d4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes/bandage/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ qmake Bandage.pro

# fix the makefile
sed -ie "s/isystem/I/" Makefile

sed -r -i.bak "s#(CC\s..*=\s).*#\1$CC#g" Makefile
sed -r -i.bak "s#(CXX\s..*=\s).*#\1$CXX#g" Makefile
# Build the program
make CC=$CC CXX=$CXX
make

# Install
cp Bandage $PREFIX/bin

0 comments on commit 174f6d4

Please sign in to comment.