fragment: also protect -ansi, -std=, -stdlib=, -pedantic, -trigraphs, -Wa, and -Wp fragments

pull/119/head
William Pitcock 2017-05-09 19:34:01 -05:00
parent c7a8e1e3b8
commit 9fde4be1f3
1 changed files with 7 additions and 0 deletions

View File

@ -39,7 +39,14 @@ pkgconf_fragment_is_unmergeable(const char *string)
{"-isystem", 8},
{"-idirafter", 10},
{"-pthread", 8},
{"-Wa,", 4},
{"-Wl,", 4},
{"-Wp,", 4},
{"-trigraphs", 10},
{"-pedantic", 9},
{"-ansi", 5},
{"-std=", 5},
{"-stdlib=", 8},
};
if (*string != '-')