• 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/openocd/openocd-0005-dont-force-ldflags.patch
Peter KorsgaardPeter Korsgaard committed a5094a056ad05 Oct 2011
Raw file
Source viewDiff to previous
 
1
[PATCH] don't force library search path / rpath settings
2
​
3
openocd adds -L$exec_prefix/lib -Wl,rpath,$exec_prefix/lib to the compile
4
LDFLAGS if it isn't installed into /usr/local, which breaks cross compilation
5
as the compiler ends up using host libraries.
6
---
7
 configure.in |   17 -----------------
8
 1 file changed, 17 deletions(-)
9
​
10
Index: openocd-0.5.0/configure.in
11
===================================================================
12
--- openocd-0.5.0.orig/configure.in
13
+++ openocd-0.5.0/configure.in
14
@@ -174,23 +174,6 @@
15
 # Let make expand exec_prefix.
16
 test x"$OCDxprefix" = xNONE && OCDxprefix="$OCDprefix"
17
 
18
-# what matters is the "exec-prefix"
19
-if test "$OCDxprefix" != "$ac_default_prefix"
20
-then
21
-    # We are installing in a non-standard place
22
-    # Nonstandard --prefix and/or --exec-prefix
23
-    # We have an override of some sort.
24
-    # use build specific install library dir
25
-
26
-    LDFLAGS="$LDFLAGS -L$OCDxprefix/lib"
27
-    # RPATH becomes an issue on Linux only
28
-    if test $host_os = linux-gnu || test $host_os = linux ; then
29
-      LDFLAGS="$LDFLAGS -Wl,-rpath,$OCDxprefix/lib"
30
-    fi
31
-    # The "INCDIR" is also usable
32
-    CFLAGS="$CFLAGS -I$includedir"
33
-fi
34
-
35
 AC_ARG_WITH(ftd2xx,
36
    AS_HELP_STRING([--with-ftd2xx=<PATH>],[This option has been removed.]),
37
   [
  • 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.