diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-12-30 02:33:05 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-13 23:52:01 -0300 |
commit | 24e2d532182eb0c566d5c21c140f82b46e22a527 (patch) | |
tree | 4e0e9fe7d42233f4ec8eb1987b9b121fca1c159f /Configure | |
parent | 98b12e44bdf730698c03a5a4d8fc93c41d931637 (diff) | |
download | perl-24e2d532182eb0c566d5c21c140f82b46e22a527.tar.gz |
Configure, sysroot: add --sysroot to cppflags
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1970,6 +1970,11 @@ if test "X$sysroot" != X; then 'undef'|*) ldflags="$ldflags --sysroot=$sysroot" esac + case "$cppflags" in + *sysroot*) ;; + 'undef'|*) + cppflags="$cppflags --sysroot=$sysroot" + esac # lddlflags updated below in lddlflags section; # same with cccdlflags ;; |