[Pkg-wmaker-commits] [wmacpi] 27/105: wmacpi: Respect CFLAGS and LDFLAGS.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit 66cf1e750c62410408d002d3f3c4e90f9ec11be3
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Aug 18 17:56:33 2014 -0500

    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/
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index acfde2d..cd840a6 100644
--- a/Makefile
+++ b/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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git



More information about the Pkg-wmaker-commits mailing list