diff options
author | Joey Hess <joey@kitenet.net> | 2012-10-14 20:32:27 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-10-14 20:32:27 -0400 |
commit | c58a27842f19a6ea78c1192ef104937d9ae9c40e (patch) | |
tree | c1f020b835470a0eb7345ef3be08f63ced6c1a8b /Makefile | |
parent | 8e2aad126880b26386d25244e1ee73332e38feb0 (diff) |
allow OPTFLAGS to be overridden
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -16,13 +16,13 @@ all=$(bins) $(mans) docs OS:=$(shell uname | sed 's/[-_].*//') ifeq ($(OS),Linux) -OPTFLAGS=-DWITH_INOTIFY -DWITH_DBUS +OPTFLAGS?=-DWITH_INOTIFY -DWITH_DBUS clibs=Utility/libdiskfree.o Utility/libmounts.o THREADFLAGS=$(shell if test -e `ghc --print-libdir`/libHSrts_thr.a; then printf -- -threaded; fi) else # BSD system THREADFLAGS=-threaded -OPTFLAGS=-DWITH_KQUEUE +OPTFLAGS?=-DWITH_KQUEUE clibs=Utility/libdiskfree.o Utility/libmounts.o Utility/libkqueue.o ifeq ($(OS),Darwin) # Ensure OSX compiler builds for 32 bit when using 32 bit ghc |