summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ae
blob: c300ae394c74651983abbf4d8a3e0f84e330333f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.8 2014/08/13 10:56:36 adam Exp $

Pass CFLAGS to the compiler.

--- tools/build/src/engine/build.sh.orig	2011-02-24 08:42:55.000000000 +0000
+++ tools/build/src/engine/build.sh
@@ -237,6 +237,7 @@ case $BOOST_JAM_TOOLSET in
     error_exit "Unknown toolset: $BOOST_JAM_TOOLSET"
     ;;
 esac
+BOOST_JAM_CC="${BOOST_JAM_CC} ${CFLAGS}"
 
 echo "###"
 echo "### Using '$BOOST_JAM_TOOLSET' toolset."