diff options
author | Matthew Macy <[email protected]> | 2020-07-28 13:02:49 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-28 13:02:49 -0700 |
commit | 5678d3f59389a241c8d9c032513c38209bb53e70 (patch) | |
tree | b25aa376cb42cc0bb173ab1250e27dccc98b4de7 /config | |
parent | 3eabed74c0fca5dd9f96d2cca13c4a1a16d5c094 (diff) |
Prefix zfs internal endian checks with _ZFS
FreeBSD defines _BIG_ENDIAN BIG_ENDIAN _LITTLE_ENDIAN
LITTLE_ENDIAN on every architecture. Trying to do
cross builds whilst hiding this from ZFS has proven
extremely cumbersome.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #10621
Diffstat (limited to 'config')
-rw-r--r-- | config/Rules.am | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/config/Rules.am b/config/Rules.am index c6dce34b0..b02511a05 100644 --- a/config/Rules.am +++ b/config/Rules.am @@ -32,7 +32,6 @@ if BUILD_FREEBSD AM_CFLAGS += -fPIC -Werror -Wno-unknown-pragmas -Wno-enum-conversion AM_CFLAGS += -include $(top_srcdir)/include/os/freebsd/spl/sys/ccompile.h AM_CFLAGS += -I/usr/include -I/usr/local/include -AM_CFLAGS += -D_MACHINE_ENDIAN_H_ endif AM_CPPFLAGS = -D_GNU_SOURCE |