forked from KolibriOS/kolibrios
[klibc][kgcc] Undef 'linux' and define 'kolibri'
git-svn-id: svn://kolibrios.org@8636 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
c1e6562f35
commit
c0a1d61a57
@ -19,6 +19,7 @@ fi
|
|||||||
|
|
||||||
# GCC Flags for KolibriOS
|
# GCC Flags for KolibriOS
|
||||||
FLAGS="-c -m32 -nostdinc -fno-common -fno-builtin -fno-leading-underscore -fno-pie -fno-stack-protector -fno-stack-check -mpreferred-stack-boundary=2"
|
FLAGS="-c -m32 -nostdinc -fno-common -fno-builtin -fno-leading-underscore -fno-pie -fno-stack-protector -fno-stack-check -mpreferred-stack-boundary=2"
|
||||||
|
KOS_PLATFORM="-Ulinux -U__linux -U__linux__ -U__gnu_linux__ -U__unix__ -U__unix -Uunix -Dkolibri -D__kolibri -D__kolibri__"
|
||||||
|
|
||||||
# And, execute gcc:
|
# And, execute gcc:
|
||||||
gcc $FLAGS -I $KLIBC/source/include $*
|
gcc $FLAGS $KOS_PLATFORM -I$KLIBC/source/include $*
|
||||||
|
Loading…
Reference in New Issue
Block a user