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
|
GARD_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/gard
|
||||||
PFLASH_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/pflash
|
PFLASH_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/pflash
|
||||||
XSCOM_VERSION=%{version} make V=1 CFLAGS="%{optflags}" -C external/xscom-utils
|
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}"
|
SKIBOOT_VERSION=%{version} make V=1 CROSS="powerpc64-linux-gnu-" CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
Loading…
Reference in New Issue
Block a user