wmacpi: Respect CFLAGS and LDFLAGS.
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/
This commit is contained in:
parent
ffffcb9241
commit
4d0cc7db43
|
@ -13,8 +13,8 @@ BUILD_CLI = 1
|
||||||
#OPT = -pg -g
|
#OPT = -pg -g
|
||||||
|
|
||||||
CC := gcc
|
CC := gcc
|
||||||
CFLAGS := $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include
|
CFLAGS += $(OPT) -Wall -W -g -ansi -I/usr/X11R6/include
|
||||||
LDFLAGS := $(OPT) -lX11 -ldockapp
|
LDFLAGS += $(OPT) -lX11 -ldockapp
|
||||||
|
|
||||||
WMSRC := wmacpi.c libacpi.c
|
WMSRC := wmacpi.c libacpi.c
|
||||||
HEADERS := libacpi.h wmacpi.h
|
HEADERS := libacpi.h wmacpi.h
|
||||||
|
|
Loading…
Reference in a new issue