projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b12e4
)
Configure, sysroot: add --sysroot to cppflags
author
Brian Fraser
<fraserbn@gmail.com>
Mon, 30 Dec 2013 05:33:05 +0000
(
02:33
-0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Tue, 14 Jan 2014 02:52:01 +0000
(23:52 -0300)
Configure
patch
|
blob
|
history
diff --git
a/Configure
b/Configure
index
e679e50
..
ab60b3a
100755
(executable)
--- a/
Configure
+++ b/
Configure
@@
-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
;;