foss-for-synopsys-dwc-arc-processors / arc-gnu-toolchain

Scripting for building ARC toolchain
5 stars 3 forks source link

Pass CFLAGS_FOR_TARGET to newlib build. #7

Closed VVIsaev closed 3 years ago

VVIsaev commented 3 years ago

These flags are used to tune glibc build, but not newlib. This patch enables CFLAGS_FOR_TARGET for newlib build as well.

Also do not clear CFLAGS_FOR_TARGET, so we can pass mcmodel.

Signed-off-by: Vladimir Isaev isaev@synopsys.com