• 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/mysql/0004-Fix-gen_lex_hash-execution.patch
Yann E. MORINYann E. MORIN committed c705bacd3f922 Dec 2014
Raw file
Source viewDiff to previous
 
1
Makefile: fix cross-compiling the server
2
​
3
MySQL Makefile believes it can run code it just compiled, to
4
generate a header. This does not work for cross-compilation.
5
​
6
Instead, use a pre-installed host-version of the required tool.
7
​
8
Signed-off-by: Marcelo Gutierrez (UTN/FRH) <kuyurix@gmail.com>
9
​
10
--- mysql-5.1.70/sql/Makefile.am
11
+++ mysql-5.1.70.patch/sql/Makefile.am
12
@@ -177,7 +177,7 @@
13
 # this avoid the rebuild of the built files in a source dist
14
 lex_hash.h:    gen_lex_hash.cc lex.h
15
        $(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
16
-       ./gen_lex_hash$(EXEEXT) > $@-t
17
+       gen_lex_hash$(EXEEXT) > $@-t
18
        $(MV) $@-t $@
19
 
20
 # For testing of udf_example.so
21
​
22
--- mysql-5.1.70/sql/Makefile.in
23
+++ mysql-5.1.70.patch/sql/Makefile.in
24
@@ -1310,7 +1310,7 @@
25
 # this avoid the rebuild of the built files in a source dist
26
 lex_hash.h:    gen_lex_hash.cc lex.h
27
        $(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
28
-       ./gen_lex_hash$(EXEEXT) > $@-t
29
+       gen_lex_hash$(EXEEXT) > $@-t
30
        $(MV) $@-t $@
31
 
32
 # We might have some stuff not built in this build, but that we want to install
  • 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.