[PATCH] LLVMLinux: Change DWARF flag to support gcc and clang

2014-03-22 Thread behanw
From: Behan Webster Both gcc (well, actually gnu as) and clang support the "-Wa,-gdwarf-2" option (though clang does not support "-Wa,--gdwarf-2"). Since these flags are equivalent in meaning, this patch uses the one which is better supported across compilers. Signed-off-by: Behan Webster ---

[PATCH] LLVMLinux: Change DWARF flag to support gcc and clang

2014-03-22 Thread behanw
From: Behan Webster beh...@converseincode.com Both gcc (well, actually gnu as) and clang support the -Wa,-gdwarf-2 option (though clang does not support -Wa,--gdwarf-2). Since these flags are equivalent in meaning, this patch uses the one which is better supported across compilers.