pcsc-tools/optflags.diff

12 lines
396 B
Diff

--- Makefile.orig 2011-05-02 20:09:21.674007267 +0200
+++ Makefile 2011-05-02 20:09:47.962017823 +0200
@@ -8,7 +8,7 @@
DESTDIR ?= /usr/local
VERSION := $(shell pwd | sed s/.*tools-//)
-CFLAGS := -Wall -O2 -g -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
+CFLAGS := $(OPTFLAGS) -DVERSION=\"$(VERSION)\" $(PCSC_CFLAGS)
LDLIBS := $(PCSC_LDLIBS)
# On xBSD systems use
#LDLIBS = -lc_r $(PCSC_LDLIBS)