• 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/icu/0004-link-icudata-as-data-only.patch
Peter KorsgaardPeter Korsgaard committed 298cd8eaa2103 Feb 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From d5d0c4bb7cc9aa4a132ec0bea13255aee50c1cf9 Mon Sep 17 00:00:00 2001
2
From: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
3
Date: Fri, 6 Jun 2014 14:55:58 +0200
4
Subject: [PATCH] Don't link icudata as a data only library
5
​
6
This patch cames straight from Debian. It fixes an issue when
7
libicudata would not have some flags indicating it's EABIhf, causing
8
applications linked against libicudata to not start on EABIhf
9
systems. Getting rid of the -nodefaultlibs -nostdlib flags solves the
10
problem, and is the solution that is used by Debian, see
11
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=653457.
12
​
13
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@devialet.com>
14
---
15
 source/config/mh-linux | 4 +++-
16
 1 file changed, 3 insertions(+), 1 deletion(-)
17
​
18
diff --git a/source/config/mh-linux b/source/config/mh-linux
19
index 531a3b2..5a2a7c4 100644
20
--- a/source/config/mh-linux
21
+++ b/source/config/mh-linux
22
@@ -21,7 +21,9 @@ LD_RPATH= -Wl,-zorigin,-rpath,'$$'ORIGIN
23
 LD_RPATH_PRE = -Wl,-rpath,
24
​
25
 ## These are the library specific LDFLAGS
26
-LDFLAGSICUDT=-nodefaultlibs -nostdlib
27
+#LDFLAGSICUDT=-nodefaultlibs -nostdlib
28
+# Debian change: linking icudata as data only causes too many problems.
29
+LDFLAGSICUDT=
30
​
31
 ## Compiler switch to embed a library name
32
 # The initial tab in the next line is to prevent icu-config from reading it.
33
--
34
2.0.0.rc2
35
​
  • 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.