Skip to content

Commit

Permalink
Fix compilation error on Linux
Browse files Browse the repository at this point in the history
- Removed undeaD from .gitignore
- Added latest undeaD as a new submodule
- Explicitly specify python2
- Fix gcc link flag
  • Loading branch information
djhshih committed Oct 11, 2017
1 parent 3609790 commit 5a16fba
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
@@ -1,5 +1,4 @@
build/
undeaD/
shunit*
/*.sam
/*.bam
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Expand Up @@ -7,3 +7,6 @@
[submodule "lz4"]
path = lz4
url = https://github.com/Cyan4973/lz4
[submodule "undeaD"]
path = undeaD
url = https://github.com/dlang/undeaD
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -20,7 +20,7 @@ endef

else

LINK_CMD=gcc -Wl,--gc-sections -o build/sambamba build/sambamba.o $(STATIC_LIB_SUBCMD) -l:libphobos2-ldc.a -l:libdruntime-ldc.a -lrt -lpthread -lm -ldl
LINK_CMD=gcc -Wl,--gc-sections -o build/sambamba build/sambamba.o $(STATIC_LIB_SUBCMD) -lphobos2-ldc -ldruntime-ldc -lrt -lpthread -lm -ldl
DMD_STATIC_LIBS=-L-Lhtslib -L-l:libhts.a -L-l:libphobos2.a -L-Llz4/lib -L-l:liblz4.a

define split-debug
Expand Down
2 changes: 1 addition & 1 deletion gen_ldc_version_info.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2

from __future__ import print_function
import re, sys, subprocess
Expand Down
1 change: 1 addition & 0 deletions undeaD
Submodule undeaD added at 7bdc18

0 comments on commit 5a16fba

Please sign in to comment.