summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-02-16 18:40:42 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-02-16 18:40:42 +0100
commit3a8a2ed58f61cd5f2913e8a71458208eaaf7e76e (patch)
tree9b9e5dc05cd187eca75ffb79f0af96443af636e9 /Makefile
parentcc23ccbec8bb37ed78567410b60b23e8cd2603a9 (diff)
Makefile: Remove useless -fwhole-program compiler flag
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 13c9bbc..5328ab9 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ MCU_FLAGS = -mmcu=attiny88 -DF_CPU=8000000UL
SHARED_FLAGS = ${MCU_FLAGS} -I. -Os -Wall -Wextra -pedantic
SHARED_FLAGS += -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums
-SHARED_FLAGS += -fwhole-program -flto -mstrict-X
+SHARED_FLAGS += -flto -mstrict-X
CFLAGS += ${SHARED_FLAGS} -std=c11
CXXFLAGS += ${SHARED_FLAGS} -std=c++11 -fno-rtti -fno-exceptions