diff options
author | Roy Marples <roy@marples.name> | 2007-04-20 13:12:21 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2007-04-20 13:12:21 +0000 |
commit | c52f2164502544c17811e47fc3236fe87aa7fc5b (patch) | |
tree | 61d8fd8bb068f00ac8cdfa2fec14f479c754c285 /src/Makefile | |
parent | a316a1fa7222ea845c546c02cefb71632616d862 (diff) |
Added the rc-abort command, #175106 thanks to Daniel Drake.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index e255f193..4b39bbe3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,6 +5,9 @@ CC ?= gcc CFLAGS ?= -Wall -O2 -pipe +check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ + then echo "$(1)"; else echo "$(2)"; fi) + # Loads of nice flags to ensure our code is good CFLAGS += -pedantic -std=c99 \ -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \ @@ -48,7 +51,7 @@ RCLINKS = einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \ mark_service_stopping mark_service_stopped \ mark_service_inactive mark_service_wasinactive \ mark_service_coldplugged \ - get_options save_options \ + get_options save_options rc-abort \ is_runlevel_start is_runlevel_stop service_started_daemon # Quick hack to make my life easier on BSD and Linux |