Skip to content
Snippets Groups Projects
Commit a2b05950 authored by Brad Smith's avatar Brad Smith Committed by Niels Möller
Browse files

Use proper PIC flag for *BSD OS's


Signed-off-by: default avatarBrad Smith <brad@comstyle.com>
parent cdf27fc2
Branches
Tags
No related merge requests found
......@@ -10,6 +10,7 @@ AC_CACHE_VAL(lsh_cv_sys_ccpic,[
bsdi4.*) CCPIC="-fPIC" ;;
bsdi*) CCPIC="" ;;
darwin*) CCPIC="-fPIC" ;;
freebsd*|netbsd*|openbsd*) CCPIC="-fPIC" ;;
# Could also use -fpic, depending on the number of symbol references
solaris*) CCPIC="-fPIC" ;;
cygwin*) CCPIC="" ;;
......@@ -21,7 +22,7 @@ AC_CACHE_VAL(lsh_cv_sys_ccpic,[
darwin*) CCPIC="-fPIC" ;;
irix*) CCPIC="-share" ;;
hpux*) CCPIC="+z"; ;;
*freebsd*) CCPIC="-fpic" ;;
freebsd*|netbsd*|openbsd*) CCPIC="-fPIC" ;;
sco*|sysv4.*) CCPIC="-KPIC -dy -Bdynamic" ;;
solaris*) CCPIC="-KPIC -Bdynamic" ;;
winnt*) CCPIC="-shared" ;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment