aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:03:41 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-21 14:03:41 +0200
commit21799fdfcce392bb1a0677e6a12ef3a2185ff003 (patch)
treef1df3e2b975e85f68680749c7c7b63903b9620b2
parent85bb961cfffedf7b50133852339ae03ea7cf212d (diff)
downloadnetlink-notify-21799fdfcce392bb1a0677e6a12ef3a2185ff003.tar.gz
netlink-notify-21799fdfcce392bb1a0677e6a12ef3a2185ff003.tar.zst
move compiler options to CFLAGS
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e876952..34580da 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
# netlink-notify - Notify about netlink changes
-CC := gcc -std=c11
+CC := gcc
MD := markdown
CONVERT := convert -define png:compression-level=9 -background transparent
INSTALL := install
CP := cp
RM := rm
-CFLAGS += -O2 -Wall -Werror
+CFLAGS += -std=c11 -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libnotify)
# this is just a fallback in case you do not use git but downloaded
# a release tarball...