blob: 2d363a3c0268971758cbeed159bc4c065c18381d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
diff --git a/defs/c-Linux.mk b/defs/c-Linux.mk
index c2c3129..4f1bbee 100644
--- a/defs/c-Linux.mk
+++ b/defs/c-Linux.mk
@@ -34,7 +34,6 @@ HOSTOS_CWARN = \
-Wdeclaration-after-statement \
-Wdisabled-optimization \
-Wempty-body \
- -Werror \
-Wextra \
-Wfloat-equal \
-Wformat \
diff --git a/lib/ftdiuart.c b/lib/ftdiuart.c
index 7e17d69..85d30cb 100644
--- a/lib/ftdiuart.c
+++ b/lib/ftdiuart.c
@@ -371,7 +371,7 @@ static int fuart_wr_rd_locked(struct fuart_context *fuartc) {
rd_buf += bytes;
bytes_remaining -= bytes;
}
- if ((bytes == -1) && ((errno == EAGAIN) || (errno == EWOULDBLOCK)) &&
+ if ((bytes == -1) && (errno == EAGAIN) &&
(retries < 10)) {
retries++;
goto retry_write;
diff --git a/servo/scripts/bash_completion/Makefile b/servo/scripts/bash_completion/Makefile
index d22faa5..ca7f0ed 100644
--- a/servo/scripts/bash_completion/Makefile
+++ b/servo/scripts/bash_completion/Makefile
@@ -15,6 +15,6 @@ $(SCRIPT_DEST_DIR)/%: $(HDCTOOLS_SOURCE_DIR)/%.bash
$(CP) $< $@
all:
- $(MKDIR) -p $(SCRIPT_DEST_DIR)
+ $(NOECHO) $(NOOP)
install: $(SCRIPT_DST)
|