summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2017-06-21 18:53:20 +0800
committerruki <[email protected]>2017-06-21 18:53:20 +0800
commite7fd0a5c178956eb4801de3780f2bc3c0e7a3e1e (patch)
treec1691a33309a18cf9b5c54dda592f33a8a7abd66 /xmake/scripts
parent45a54659f7449ead7ed073f9c0cbbe1da9fcdc06 (diff)
move tools dir to core.tools and improve tool module
Diffstat (limited to 'xmake/scripts')
-rwxr-xr-xxmake/scripts/gas-preprocessor.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/gas-preprocessor.pl b/xmake/scripts/gas-preprocessor.pl
index 98dfe4ad9..7e0857a66 100755
--- a/xmake/scripts/gas-preprocessor.pl
+++ b/xmake/scripts/gas-preprocessor.pl
@@ -86,7 +86,7 @@ if (grep /\.c$/, @gcc_cmd) {
} elsif (grep /\.[sS]$/, @gcc_cmd) {
# asm file, just do C preprocessor
@preprocess_c_cmd = (@gcc_cmd, "-E");
-} elsif (grep /-(v|-version|dumpversion)/, @gcc_cmd) {
+} elsif (grep /-(v|-help|-version|dumpversion)/, @gcc_cmd) {
# pass -v/--version along, used during probing. Matching '-v' might have
# uninteded results but it doesn't matter much if gas-preprocessor or
# the compiler fails.