summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2011-04-06 10:03:59 -0500
committerDan McGee <dpmcgee@gmail.com>2011-04-06 10:05:39 -0500
commit763609505726c662ae97deb2db4116a7365afb23 (patch)
tree39786c6c64e549a4197263e22fe2c76bf54df4c2
parent80bca8b46574046407ffd46bcb3c6f6aecb4c435 (diff)
downloadonkyocontrol-763609505726c662ae97deb2db4116a7365afb23.tar.gz
onkyocontrol-763609505726c662ae97deb2db4116a7365afb23.zip
Remove -fwhopr from compile flags
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1433ec3..1e3b2e7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
# Makefile for Onkyo Receiver communication program
#CFLAGS = -Wall -Wextra -ggdb -O2 -fstrict-aliasing -march=native -std=c99 -fprofile-arcs -ftest-coverage
-#LDFLAGS = -lgcov
-CFLAGS = -Wall -Wextra -ggdb -O2 -fstrict-aliasing -march=native -std=c99 -fwhopr
-LDFLAGS = -Wl,-O1,--as-needed -ggdb -O2 -fstrict-aliasing -march=native -std=c99 -fwhopr -fwhole-program
+CFLAGS = -Wall -Wextra -ggdb -O2 -fstrict-aliasing -flto -march=native -std=c99
+LDFLAGS = -Wl,-O1,--as-needed -ggdb -O2 -fstrict-aliasing -march=native -std=c99 -fwhole-program
program = onkyocontrol
objects = command.o onkyo.o receiver.o util.o