2013-10-14 21:26:08 +02:00
|
|
|
Index: Makefile
|
|
|
|
===================================================================
|
|
|
|
--- Makefile.orig
|
|
|
|
+++ Makefile
|
|
|
|
@@ -8,7 +8,7 @@ PCSC_LDLIBS ?= $(shell pkg-config libpcs
|
2011-05-02 22:35:23 +02:00
|
|
|
DESTDIR ?= /usr/local
|
|
|
|
|
|
|
|
VERSION := $(shell pwd | sed s/.*tools-//)
|
2013-10-14 21:26:08 +02:00
|
|
|
-CFLAGS := $(CFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
|
|
|
|
+CFLAGS := -Wall -O2 $(OPTFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
|
2011-05-02 22:35:23 +02:00
|
|
|
LDLIBS := $(PCSC_LDLIBS)
|
|
|
|
# On xBSD systems use
|
|
|
|
#LDLIBS = -lc_r $(PCSC_LDLIBS)
|