mirror_zfs/rpm/redhat
Brian Behlendorf e0aacd9b97 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.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #607
2017-03-06 09:16:22 -08:00
..
.gitignore Add RHEL style kmod packages 2015-03-27 14:42:04 -07:00
Makefile.am Add RHEL style kmod packages 2015-03-27 14:42:04 -07:00
spl-dkms.spec.in Add RHEL style kmod packages 2015-03-27 14:42:04 -07:00
spl-kmod.spec.in Fix powerpc build 2017-03-06 09:16:22 -08:00
spl.spec.in Add RHEL style kmod packages 2015-03-27 14:42:04 -07:00