git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e9e9f
)
command: workaround hang on autocompletion
author
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Jul 2016 00:09:11 +0000
(
03:09
+0300)
committer
Grazvydas Ignotas
<notasas@gmail.com>
Sun, 3 Jul 2016 00:10:28 +0000
(
03:10
+0300)
Not sure what's going on exactly, some complete_cmdv() miscompilation?
Not worth spending time to find out.
common/command.c
patch
|
blob
|
history
diff --git
a/common/command.c
b/common/command.c
index
50c8429
..
a372632
100644
(file)
--- a/
common/command.c
+++ b/
common/command.c
@@
-21,6
+21,10
@@
* MA 02111-1307 USA
*/
+#if defined(__GNUC__) && defined(__OPTIMIZE__) && (__GNUC__ >= 4 && __GNUC_MINOR__ >= 4)
+#pragma GCC optimize ("O2")
+#endif
+
/*
* Command Processor Table
*/