zfs/rpm/generic
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 Refresh RPM packaging 2013-03-18 15:31:54 -07:00
Makefile.am Refresh RPM packaging 2013-03-18 15:31:54 -07:00
spl-dkms.spec.in Fix spl-dkms uninstall/update 2015-10-02 11:17:22 -07:00
spl-kmod.spec.in Fix powerpc build 2017-03-06 09:16:22 -08:00
spl.spec.in Remove RPM package restriction 2016-03-10 09:19:08 -08:00