summarylogtreecommitdiffstats
path: root/cflags-order.patch
blob: 4a07647d37329f558b790bc8c4dbc9c56380d612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
 Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git c/Makefile i/Makefile
index 8e4ca56..e6ad0af 100644
--- c/Makefile
+++ i/Makefile
@@ -130,10 +130,10 @@ else
                  $(TOP_DIR)/include \
                  $(SRC_DIR)
 
-  COMPILE = $(CC) $(CPPFLAGS) \
-                  $(CFLAGS) \
-                  $(ANSIFLAGS) \
-                  $(INCLUDES:%=$I%)
+  COMPILE = $(CC) $(ANSIFLAGS) \
+                  $(INCLUDES:%=$I%) \
+                  $(CPPFLAGS) \
+                  $(CFLAGS)
 
   # Enable C99 for gcc to avoid warnings.
   # Note that clang++ aborts with an error if we use `-std=C99',