You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
743 B

From 95e3dc5430e25c7c695dded9842af69ba5f6a9b2 Mon Sep 17 00:00:00 2001
From: Claudio Matsuoka <cmatsuoka@gmail.com>
Date: Sun, 10 May 2015 16:28:24 -0300
Subject: [PATCH 4/8] Adjust compiler flags for modern gcc
The gcc compiler has unused value warnings enabled by default, so add
-Wno-unused-value flag to reduce noise in the compiler output.
Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 5a51d51..dd31bf7 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ SHELL = /bin/sh
# The C compiler and linker to use
CC = gcc
-CFLAGS = -g -O2 -Wall
+CFLAGS = -g -O2 -Wall -Wno-unused-value
LD = gcc
LDFLAGS =
--
2.5.0