git.annexia.org
/
goaljobs-goals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9660045
)
libguestfs: Add -fPIC to CFLAGS.
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 6 Sep 2019 20:50:13 +0000
(21:50 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 6 Sep 2019 20:50:13 +0000
(21:50 +0100)
config.ml
patch
|
blob
|
history
diff --git
a/config.ml
b/config.ml
index
16b3502
..
ddf5524
100644
(file)
--- a/
config.ml
+++ b/
config.ml
@@
-38,6
+38,11
@@
let libguestfs_localconfigure source =
# erlang is disabled because it is broken in Rawhide:
# https://bugzilla.redhat.com/show_bug.cgi?id=1316206
+# Add -fPIC to flags otherwise linking OCaml objects fails.
+export CFLAGS=\"-O2 -g -fPIC\"
+export CXXFLAGS=\"$CFLAGS\"
+export LDFLAGS=\"-fPIC\"
+
%s \\
PYTHON=/usr/bin/python3 \\
--prefix /usr \\