Reference env directly
This change will work when the new changes to base are merged...
This commit is contained in:
parent
0ed28ab34c
commit
a4a8972625
1 changed files with 8 additions and 8 deletions
|
@ -14,14 +14,14 @@ files = [
|
||||||
]
|
]
|
||||||
|
|
||||||
toolchain_bin = Dir(os.environ['POLKA_TOOLCHAIN']).Dir('bin')
|
toolchain_bin = Dir(os.environ['POLKA_TOOLCHAIN']).Dir('bin')
|
||||||
Replace(AS=toolchain_bin.File('i686-elf-as'),
|
env.Replace(AS=toolchain_bin.File('i686-elf-as'),
|
||||||
CC=toolchain_bin.File('i686-elf-gcc'),
|
CC=toolchain_bin.File('i686-elf-gcc'),
|
||||||
CXX=toolchain_bin.File('i686-elf-g++'),
|
CXX=toolchain_bin.File('i686-elf-g++'),
|
||||||
LINK=toolchain_bin.File('i686-elf-ld'))
|
LINK=toolchain_bin.File('i686-elf-ld'))
|
||||||
Append(CCFLAGS='-ffreestanding',
|
env.Append(CCFLAGS='-ffreestanding',
|
||||||
CPPDEFINES='__polka',
|
CPPDEFINES='__polka',
|
||||||
CXXFLAGS='-fno-exceptions -fno-rtti',
|
CXXFLAGS='-fno-exceptions -fno-rtti',
|
||||||
LINKFLAGS='-nostdlib -lgcc')
|
LINKFLAGS='-nostdlib -lgcc')
|
||||||
|
|
||||||
# Global constructor files. These must be linked IN THIS ORDER.
|
# Global constructor files. These must be linked IN THIS ORDER.
|
||||||
def crtfile_path(name):
|
def crtfile_path(name):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue