better use gcc to link instead of g++
on ubuntu, use g++ will add a additional linkflag "-lstdc++" and this will result link failed.
This commit is contained in:
parent
f491f7cf5f
commit
d0f7ec73b9
|
@ -27,7 +27,7 @@ if PLATFORM == 'gcc':
|
||||||
CXX = PREFIX + 'g++'
|
CXX = PREFIX + 'g++'
|
||||||
AS = PREFIX + 'gcc'
|
AS = PREFIX + 'gcc'
|
||||||
AR = PREFIX + 'ar'
|
AR = PREFIX + 'ar'
|
||||||
LINK = PREFIX + 'g++'
|
LINK = PREFIX + 'gcc'
|
||||||
TARGET_EXT = 'elf'
|
TARGET_EXT = 'elf'
|
||||||
SIZE = PREFIX + 'size'
|
SIZE = PREFIX + 'size'
|
||||||
OBJDUMP = PREFIX + 'objdump'
|
OBJDUMP = PREFIX + 'objdump'
|
||||||
|
|
Loading…
Reference in New Issue