beremiz

93022adef055
Parents ec30c12b1d67
Children 626de4ff4bdc
Fix bug when linking failed and trying to rebuild
--- a/targets/toolchain_gcc.py Tue Apr 09 18:16:04 2013 +0200
+++ b/targets/toolchain_gcc.py Tue Apr 09 18:17:10 2013 +0200
@@ -98,7 +98,7 @@
######### GENERATE OBJECT FILES ########################################
obns = []
objs = []
- relink = False
+ relink = self.GetBinaryCode() is None
for Location, CFilesAndCFLAGS, DoCalls in self.CTRInstance.LocationCFilesAndCFLAGS:
if CFilesAndCFLAGS:
if Location :