Skip to content

Commit

Permalink
Build shared library
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Nov 10, 2018
1 parent b8f9e73 commit d9603b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ set -e
set -x

# Compile LFort runtime library
CFLAGS="-Wall -g"
CFLAGS="-Wall -g -fPIC"
gcc $CFLAGS -o lfort_intrinsics.o -c lfort_intrinsics.c
ar rcs liblfort.a lfort_intrinsics.o
gcc -shared -o liblfort.so lfort_intrinsics.o

0 comments on commit d9603b3

Please sign in to comment.