• 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/bdwgc/0001-configure.ac-add-check-for-NO_GETCONTEXT-definition.patch
Samuel MartinSamuel Martin committed 8995e5b57de24 Dec 2014
Raw file
Source viewDiff to previous
 
1
configure.ac: add check for NO_GETCONTEXT definition
2
​
3
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
4
[yann.morin.1998@free.fr: add a comment, change variable name, use
5
 AS_IF, remove debug traces, use AC_CHECK_FUNCS (as suggested by
6
 Thomas)]
7
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
8
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
9
​
10
---
11
 configure.ac | 6 ++++++
12
 1 file changed, 6 insertions(+)
13
​
14
--- bdwgc-7.2f.orig/configure.ac    2014-06-01 19:00:47.000000000 +0200
15
+++ bdwgc-7.2f/configure.ac 2014-12-23 14:13:11.585716713 +0100
16
@@ -365,6 +365,12 @@
17
   AC_MSG_RESULT($ac_cv_fno_strict_aliasing)
18
 fi
19
 
20
+# Check for getcontext (uClibc can be configured without it, for example)
21
+AC_CHECK_FUNCS([getcontext])
22
+AS_IF([test "$ac_cv_func_getcontext" = "no"],
23
+  [CFLAGS="$CFLAGS -DNO_GETCONTEXT"
24
+   CPPFLAGS="$CPPFLAGS -DNO_GETCONTEXT"])
25
+
26
 case "$host" in
27
 # While IRIX 6 has libdl for the O32 and N32 ABIs, it's missing for N64
28
 # and unnecessary everywhere.
  • 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.