diff --git a/smc-tools.spec b/smc-tools.spec index cca9b71..7c4d301 100644 --- a/smc-tools.spec +++ b/smc-tools.spec @@ -28,6 +28,10 @@ sockets in Linux. %build +%ifarch ppc64le +# see arch/powerpc/include/uapi/asm/types.h +%global optflags %optflags -D__SANE_USERSPACE_TYPES__ +%endif %set_build_flags %make_build