common/build-style: do not leak host CFLAGS
This commit is contained in:
parent
ef77fbf29f
commit
2f792446a5
|
@ -25,6 +25,8 @@ do_configure() {
|
|||
fi
|
||||
export PERL5LIB=$perlprefix
|
||||
|
||||
sed -i "s#^ccflags=.*#ccflags='$CFLAGS'#" "$perlprefix/Config"*.p?
|
||||
|
||||
if [ -f ${wrksrc}/Makefile.PL ]; then
|
||||
sed -i "s,/usr/include,${XBPS_CROSS_BASE}/usr/include,g" ${wrksrc}/Makefile.PL
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue