mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
stop using linux system includes. only use gcc includes. Trivial one liner.
Thanks, Segher. Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@306 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
96bc8ff02e
commit
16d16c155f
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -39,6 +39,7 @@ CC := gcc
|
||||||
CFLAGS := -Os -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
CFLAGS := -Os -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||||
-Werror-implicit-function-declaration -Wstrict-aliasing \
|
-Werror-implicit-function-declaration -Wstrict-aliasing \
|
||||||
-fno-common -ffreestanding -fno-builtin -fomit-frame-pointer \
|
-fno-common -ffreestanding -fno-builtin -fomit-frame-pointer \
|
||||||
|
-nostdinc -isystem `gcc -print-file-name=include` \
|
||||||
-mpreferred-stack-boundary=2 -mregparm=3 -pipe
|
-mpreferred-stack-boundary=2 -mregparm=3 -pipe
|
||||||
# FIXME: Does stack boundary or regparm break the code on real hw?
|
# FIXME: Does stack boundary or regparm break the code on real hw?
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue