[Pcsclite-cvs-commit] r6338 - /trunk/pcsc-tools/Makefile

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Jun 16 10:31:54 UTC 2012


Author: rousseau
Date: Sat Jun 16 10:31:54 2012
New Revision: 6338

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=6338
Log:
Add arguments to CFLAGS instead of overwritting them

It is now possible to define extra CFLAGS before the compilation. Like
what is done on Debian using dpkg-buildflags.

Modified:
    trunk/pcsc-tools/Makefile

Modified: trunk/pcsc-tools/Makefile
URL: http://svn.debian.org/wsvn/pcsclite/trunk/pcsc-tools/Makefile?rev=6338&op=diff
==============================================================================
--- trunk/pcsc-tools/Makefile (original)
+++ trunk/pcsc-tools/Makefile Sat Jun 16 10:31:54 2012
@@ -8,7 +8,7 @@
 DESTDIR ?= /usr/local
 
 VERSION := $(shell pwd | sed s/.*tools-//)
-CFLAGS := -Wall -O2 -g -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
+CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
 LDLIBS := $(PCSC_LDLIBS)
 # On xBSD systems use
 #LDLIBS = -lc_r $(PCSC_LDLIBS)




More information about the Pcsclite-cvs-commit mailing list