mirror of
https://github.com/drasko/codezero.git
synced 2026-02-26 16:53:14 +01:00
Removed hard coded values of toolchain and gcc cpu flags
This commit is contained in:
@@ -24,10 +24,13 @@ PROJRELROOT = '../..'
|
||||
sys.path.append(PROJRELROOT)
|
||||
|
||||
from config.projpaths import *
|
||||
from configure import *
|
||||
|
||||
Import('arch')
|
||||
|
||||
env = Environment(CC = 'arm-none-linux-gnueabi-gcc',
|
||||
config = configuration_retrieve()
|
||||
|
||||
env = Environment(CC = config.user_toolchain + 'gcc',
|
||||
CCFLAGS = ['-g', '-nostdlib', '-ffreestanding'],
|
||||
LINKFLAGS = ['-nostdlib'],
|
||||
ASFLAGS = ['-D__ASSEMBLY__'],
|
||||
|
||||
Reference in New Issue
Block a user