• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/sawman/sawman-001-link-using-gcc-instead-of-ld.patch
Vicente Olivert RieraVicente Olivert Riera committed 8fc5ea0043817 Dec 2013
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
sawman: Link using gcc instead of ld
2
​
3
Using ld may cause a link failure due to using the default emulation
4
linker which is configured when building the linker in binutils.  Using
5
gcc instead will pass the appropriate -m value because the compiler 
6
knows the ABI you are using.
7
​
8
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
9
--- SaWMan-1.6.3/rules/libobject.make.orig  2013-12-17 15:54:22.137856874 +0000
10
+++ SaWMan-1.6.3/rules/libobject.make   2013-12-17 15:54:44.233201909 +0000
11
@@ -3,7 +3,7 @@
12
    if test -d $<.tmp; then rmdir $<.tmp; fi
13
    mkdir $<.tmp
14
    (cd $<.tmp && $(AR) x ../../$<)
15
-   $(LD) -o $@ -r $<.tmp/*.o
16
+   $(CC) -nostdlib -o $@ -r $<.tmp/*.o
17
    rm -f $<.tmp/*.o && rmdir $<.tmp
18
 
19
 .PHONY: $(LTLIBRARIES:%.la=.libs/%.a)
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.