tools: wrt400n: fix making factory images with kernel bigger than 1MB
[openwrt/openwrt.git] / tools / mklibs / patches / 008-uclibc_libgcc_link.patch
index 7172b4c..432a313 100644 (file)
@@ -1,6 +1,6 @@
 --- a/src/mklibs
 +++ b/src/mklibs
-@@ -113,11 +113,8 @@
+@@ -113,11 +113,8 @@ def library_depends_gcc_libnames(obj, so
      ret = []
      for i in libs:
          match = re.match("^(((?P<ld>ld\S*)|(lib(?P<lib>\S+))))\.so.*$", i)
@@ -14,7 +14,7 @@
      return ' '.join(ret)
  
  class Symbol(object):
-@@ -582,6 +579,7 @@
+@@ -584,6 +581,7 @@ while 1:
              extra_flags = []
              extra_pre_obj = []
              extra_post_obj = []
@@ -22,7 +22,7 @@
  
              symbols.update(library_symbols_used[library])
  
-@@ -612,9 +610,10 @@
+@@ -614,9 +612,10 @@ while 1:
              cmd.append(pic_file)
              cmd.extend(extra_post_obj)
              cmd.extend(extra_flags)