• 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/espeak/0001-Fix-build-of-shared-library-on-architectures-needing.patch
Thomas PetazzoniThomas Petazzoni committed 645750d1c8927 Nov 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 08a464e2b6bd31bb2bf4e258ebfa9b9d65805abf Mon Sep 17 00:00:00 2001
2
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3
Date: Fri, 27 Nov 2015 15:17:02 +0100
4
Subject: [PATCH] Fix build of shared library on architectures needing -fPIC
5
​
6
Certain architectures, like Sparc and Sparc64 require objects to be
7
built with -fPIC (and not just -fpic) to be usable in shared
8
libraries. On other architectures, -fPIC is the same as -fpic so this
9
patch doesn't affect such architectures.
10
​
11
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
12
---
13
 src/Makefile | 2 +-
14
 1 file changed, 1 insertion(+), 1 deletion(-)
15
​
16
diff --git a/src/Makefile b/src/Makefile
17
index 95fe549..c293611 100755
18
--- a/src/Makefile
19
+++ b/src/Makefile
20
@@ -110,7 +110,7 @@ $(BIN2_NAME): $(OBJS3) $(LIB_NAME)
21
 
22
 
23
 x_%.o: %.cpp
24
-   $(CXX) $(CXXFLAGS) $(USE_AUDIO) -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -Wall -fpic -fvisibility=hidden -pedantic \
25
+   $(CXX) $(CXXFLAGS) $(USE_AUDIO) -D PATH_ESPEAK_DATA=\"$(DATADIR)\" -Wall -fPIC -fvisibility=hidden -pedantic \
26
    -I. -D LIBRARY -c -fno-exceptions  $<  -o x_$*.o
27
 
28
 $(LIB_NAME): $(OBJS2)
29
-- 
30
2.6.3
31
​
  • 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.