diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-05-11 13:49:21 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-05-11 13:50:56 +0100 |
commit | a50db3be6072d70a14ea9a586f3f1c62ba20ecdb (patch) | |
tree | 29566c59b21e9a37da9f1ee1e0de4083d2b076e4 | |
parent | a1680f03b7d38bf007d29ac23035e5af33736b0e (diff) | |
download | libguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.tar.gz libguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.tar.xz libguestfs-a50db3be6072d70a14ea9a586f3f1c62ba20ecdb.zip |
doc: Add a note about compiling under clang.
-rw-r--r-- | README | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -272,6 +272,20 @@ appliance. You will need to port the febootstrap first (http://people.redhat.com/~rjones/febootstrap/). +Note on using clang (from LLVM) instead of GCC +---------------------------------------------------------------------- + + export CC=clang + ./configure --disable-probes + make + +SystemTap/DTrace-style userspace probe points don't work under the +clang compiler, which is why you may need to disable them. + +Don't enable GCC warnings (ie. *don't* use +'./configure --enable-gcc-warnings'). + + Copyright and license information ---------------------------------------------------------------------- |