fix flags for cross-compiler

This commit is contained in:
Dan Horák 2018-01-25 17:27:11 +01:00
parent ea6242c789
commit aa535e923e

View File

@ -59,6 +59,8 @@ OPAL_PRD_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/opal-prd
GARD_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/gard
PFLASH_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/pflash
XSCOM_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/xscom-utils
# filter out unsupported flag
%global optflags %(echo %{optflags} | sed 's/-fstack-clash-protection//')
SKIBOOT_VERSION=%{version} make V=1 CROSS="powerpc64-linux-gnu-" CFLAGS="%{optflags}"
%install