From 5f55c81aebf0c1734944c97ed7da974107b1a92f Mon Sep 17 00:00:00 2001 From: Vasiliy Glazov Date: Wed, 18 Sep 2019 16:45:32 +0300 Subject: [PATCH] Solve ppc64le build problem. --- libffado.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libffado.spec b/libffado.spec index a5a398a..332055f 100644 --- a/libffado.spec +++ b/libffado.spec @@ -81,6 +81,8 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' \ support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \ support/tools/*.py support/tools/SConscript +sed -i 's|-m32||' SConstruct + %build export CFLAGS="%{optflags} -ffast-math" export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"