Find file History
Pull request Compare This branch is 11 commits behind zfsonlinux:master.
Latest commit fb963d3 Mar 7, 2017 @behlendorf committed on GitHub 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 <>
Signed-off-by: Brian Behlendorf <>
Closes #5856
Failed to load latest commit information.
generic Fix powerpc build Mar 6, 2017
redhat Fix powerpc build Mar 6, 2017 Add RHEL style kmod packages Mar 27, 2015