Allow additional flags to be appended to CFLAGS and/or LDFLAGS. Based on the patch from Debian: http://sources.debian.net/src/wmacpi/2.2~rc5%2Bds-1/debian/patches/fix_compiler_flags.patch/ --- wmacpi/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/wmacpi/Makefile b/wmacpi/Makefile index acfde2d..cd840a6 100644 --- a/wmacpi/Makefile +++ b/wmacpi/Makefile @@ -13,8 +13,8 @@ BUILD_CLI = 1 #OPT = -pg -g CC := gcc -CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include -LDFLAGS := $(OPT) -lX11 -ldockapp +CFLAGS += $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include +LDFLAGS += $(OPT) -lX11 -ldockapp WMSRC := wmacpi.c libacpi.c HEADERS := libacpi.h wmacpi.h -- 1.9.1 -- To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.