On 10/4/19 9:03 AM, Martin Wilck wrote:
https://src.fedoraproject.org/rpms/device-mapper-multipath/blob/master/f/0029-RH-Fix-nvme-compilation-warning.patch
Subject: [PATCH] RH: Fix nvme compilation warning
I assume that other people aren't seeing these compilation warnings,
and
this it due to different options that redhat uses when compiling. I
really should push this patch upstream, but that upstream isn't
multipath-tools, its nvme-cli, where we copied this file from. Once
it's
changed there, we can pull the updated files back to multipath-tools.
Ack. Which compiler option triggers this warning?
With this patch: https://src.fedoraproject.org/rpms/device-mapper-multipath/blob/master/f/0024-RH-use-rpm-optflags-if-present.patch
and /usr/lib/rpm/redhat/redhat-hardened-cc1 :
*cc1_options:
+ %{!r:%{!fpie:%{!fPIE:%{!fpic:%{!fPIC:%{!fno-pic:-fPIE}}}}}}
--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel