]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix '-pie' build with clang
authorMartin Kletzander <mkletzan@redhat.com>
Tue, 9 Feb 2016 11:33:29 +0000 (12:33 +0100)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 9 Feb 2016 12:29:53 +0000 (13:29 +0100)
commitd498a8995012996afd653f0172cddbd270c51266
tree8dd336a18f6b3fcd7f1eff7467f03c84b0f075b5
parent99a6f30db0781ee74c7c373ace9553cba299094b
Fix '-pie' build with clang

Commit 97e70a593589e8f0432a748b4b93c3cdc18b9e5a added the option -pie to
CFLAGS and LDFLAGS, however '-pie' is just a linker option.  That
wouldn't be a problem.  However, clang is checking for that and outputs
an error or unused argument:

error: argument unused during compilation: '-pie'

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
m4/virt-compile-pie.m4