Skip to content

Commit

Permalink
Merge pull request #22 from kr-colab/gcc_flag_err
Browse files Browse the repository at this point in the history
add compiler flag to help gcc10
  • Loading branch information
andrewkern authored Jul 24, 2020
2 parents 4e38bd5 + 5bbb243 commit c2b3853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ all: discoal


discoal: discoal_multipop.c discoalFunctions.c discoal.h discoalFunctions.h
$(CC) $(CFLAGS) -o discoal discoal_multipop.c discoalFunctions.c ranlibComplete.c alleleTraj.c -lm
$(CC) $(CFLAGS) -o discoal discoal_multipop.c discoalFunctions.c ranlibComplete.c alleleTraj.c -lm -fcommon

test: alleleTrajTest.c alleleTraj.c alleleTraj.h discoalFunctions.c
$(CC) $(CFLAGS) -o alleleTrajTest alleleTrajTest.c alleleTraj.c ranlibComplete.c discoalFunctions.c -lm
Expand Down

0 comments on commit c2b3853

Please sign in to comment.