aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-04 21:57:12 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-04 21:57:12 +0200
commitd4ea253aa8d22b93377069da9fe13aaf56683123 (patch)
tree1f857315863c7f2a2ddf9fd912d4e867568ebe54
parent88a49f664d16201c4673be19da1e993606e0fece (diff)
downloadudev-block-notify-d4ea253aa8d22b93377069da9fe13aaf56683123.tar.gz
udev-block-notify-d4ea253aa8d22b93377069da9fe13aaf56683123.tar.zst
add add -O2, -Wall and -Werror to CFLAGS
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3ae50c5..8d0314b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
# udev-block-notify - Notify about udev block events
CC := gcc
+CFLAGS += -O2 -Wall -Werror
CFLAGS += $(shell pkg-config --cflags --libs libudev) \
$(shell pkg-config --cflags --libs libnotify)
VERSION = $(shell git describe --tags --long)