Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Norbert Pócs
nettle
Commits
a2b05950
Commit
a2b05950
authored
2 years ago
by
Brad Smith
Committed by
Niels Möller
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Use proper PIC flag for *BSD OS's
Signed-off-by:
Brad Smith
<
brad@comstyle.com
>
parent
cdf27fc2
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
aclocal.m4
+2
-1
2 additions, 1 deletion
aclocal.m4
with
2 additions
and
1 deletion
aclocal.m4
+
2
−
1
View file @
a2b05950
...
...
@@ -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="-f
pic
" ;;
freebsd*
|netbsd*|openbsd*
) CCPIC="-f
PIC
" ;;
sco*|sysv4.*) CCPIC="-KPIC -dy -Bdynamic" ;;
solaris*) CCPIC="-KPIC -Bdynamic" ;;
winnt*) CCPIC="-shared" ;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment