diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-03-20 07:00:38 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-03-20 07:00:38 +0100 |
commit | aa82fb3fb5b83ab84486c54c4fc7c21b5ee2d3e0 (patch) | |
tree | 021723f00409b928141cbdecd626b667e0c451be | |
parent | 6a9d0fa1029d81a1864a1feaf6f05a0e37384521 (diff) | |
download | ghdl-aa82fb3fb5b83ab84486c54c4fc7c21b5ee2d3e0.tar.gz ghdl-aa82fb3fb5b83ab84486c54c4fc7c21b5ee2d3e0.tar.bz2 ghdl-aa82fb3fb5b83ab84486c54c4fc7c21b5ee2d3e0.zip |
llvm: Add -O as alias of -O1
-rw-r--r-- | src/ortho/llvm/ortho_code_main.adb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ortho/llvm/ortho_code_main.adb b/src/ortho/llvm/ortho_code_main.adb index 8d7ba8289..b44081fe8 100644 --- a/src/ortho/llvm/ortho_code_main.adb +++ b/src/ortho/llvm/ortho_code_main.adb @@ -132,7 +132,7 @@ begin Codegen := ObjectFile; elsif Arg = "-O0" then Optimization := CodeGenLevelNone; - elsif Arg = "-O1" then + elsif Arg = "-O1" or else Arg = "-O" then Optimization := CodeGenLevelLess; elsif Arg = "-O2" then Optimization := CodeGenLevelDefault; |