Skip to content

Commit

Permalink
patch gcc in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mencian committed Nov 4, 2024
1 parent fc506c5 commit f7f317e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions recipes/smudgeplot/0001-Makefile.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index ad29043..4dff5ca 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ $(INSTALL_PREFIX)/bin/% : exec/%
install -C $< $(INSTALL_PREFIX)/bin

exec/hetmers: src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/libfastk.h src_ploidyplot/matrix.c src_ploidyplot/matrix.h
- gcc $(CFLAGS) -o $@ src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/matrix.c -lpthread -lm
+ $(CC) $(CFLAGS) -o $@ src_ploidyplot/PloidyPlot.c src_ploidyplot/libfastk.c src_ploidyplot/matrix.c -lpthread -lm


.PHONY : clean
2 changes: 2 additions & 0 deletions recipes/smudgeplot/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ build:
source:
url: https://github.com/KamilSJaron/smudgeplot/archive/v{{ version }}.tar.gz
sha256: 61ca437e29830a415e6f18f39d5d1fd994d20ea4a9bd46d1ab5fdcc52fa4008d
patches:
- 0001-Makefile.patch

requirements:
build:
Expand Down

0 comments on commit f7f317e

Please sign in to comment.