fix flags for cross-compiler
This commit is contained in:
parent
ea6242c789
commit
aa535e923e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user