• 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/libseccomp/libseccomp-0001-use-system-headers-from-sysroot.patch
Maxime RipardMaxime Ripard committed ca0e51528ee18 Dec 2012
Raw file
Source viewDiff to previous
 
1
configure: check headers in sysroot, not in host's system headers
2
​
3
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
4
​
5
diff -durN libseccomp-1.0.0.orig/configure libseccomp-1.0.0/configure
6
--- libseccomp-1.0.0.orig/configure 2012-07-27 22:35:05.000000000 +0200
7
+++ libseccomp-1.0.0/configure  2012-10-27 00:12:50.739196219 +0200
8
@@ -205,7 +205,8 @@
9
 #
10
 
11
 # system seccomp includes
12
-if [[ -r "/usr/include/linux/seccomp.h" ]]; then
13
+# ${SYSROOT} added by buildroot for cross-compilation
14
+if [[ -r "${SYSROOT}/usr/include/linux/seccomp.h" ]]; then
15
    opt_sysinc_seccomp="yes"
16
 else
17
    opt_sysinc_seccomp="no"
  • 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.