From 65d99327345cdbeeda86d1883d338f89c09b1e62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Mon, 4 Oct 2021 10:12:53 +0200 Subject: [PATCH] remove formating warnings from build on ppc64le --- smc-tools.spec | 4 ++++ 1 file changed, 4 insertions(+) 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