parent
8ad0f52da0
commit
30181a9dd9
2 changed files with 11 additions and 5 deletions
6
configure
vendored
6
configure
vendored
|
|
@ -43239,7 +43239,11 @@ dedup_flags()
|
|||
{
|
||||
printf "%s " "$@" |
|
||||
awk 'BEGIN { RS=" "; ORS=" " }
|
||||
{ if ($0=="-arch" || $0=="-framework" || !seen[$0]++) print }'
|
||||
{
|
||||
if ($0=="") next
|
||||
if ($0=="-arch" || $0=="-framework") { x=$0; next }
|
||||
if (x!="") x=x " " $0; else x=$0; if (!seen[x]++) print x; x=""
|
||||
}'
|
||||
}
|
||||
|
||||
WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue