mirror_zfs/rpm/generic
Brian Behlendorf fb963d33ee Fix powerpc build
Unlike other architectures which sanitize the LDFLAGS from the
environment in arch/<arch>/Makefile.  The powerpc Makefile
allows LDFLAGS to be passed through resulting in the following
build failure.

  /usr/bin/ld: unrecognized option '-Wl,-z,relro'

LDFLAGS is set in /usr/lib/rpm/redhat/macros by default.  Clear
the environment variable when building kmods for powerpc.

Additionally, now that ppc64le exists it's not longer safe to
assume a powerpc system is big endian.  Rely on the endianness
provided by the compiler.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #5856
2017-03-06 09:17:24 -08:00
..
.gitignore Refresh RPM packaging 2013-03-18 15:33:17 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:33:17 -07:00
zfs-dkms.spec.in Fix zfs-dkms uninstall/update 2015-10-02 11:19:25 -07:00
zfs-kmod.spec.in Fix powerpc build 2017-03-06 09:17:24 -08:00
zfs.spec.in Add -c to zpool iostat & status to run command 2016-11-29 14:45:38 -07:00