2007-04-11 04:44:39 +02:00
|
|
|
diff --git a/usr/Makefile b/usr/Makefile
|
2012-06-04 14:42:41 +02:00
|
|
|
index 64cb58c..deb7e39 100644
|
2007-04-11 04:44:39 +02:00
|
|
|
--- a/usr/Makefile
|
|
|
|
+++ b/usr/Makefile
|
2012-06-04 14:42:41 +02:00
|
|
|
@@ -28,12 +28,15 @@ INCLUDES += -I.
|
2007-04-11 04:44:39 +02:00
|
|
|
|
2008-08-08 17:24:37 +02:00
|
|
|
CFLAGS += -D_GNU_SOURCE
|
|
|
|
CFLAGS += $(INCLUDES)
|
2012-06-04 14:42:41 +02:00
|
|
|
+ifneq ($(OPTFLAGS),)
|
2008-08-08 17:24:37 +02:00
|
|
|
+CFLAGS += $(OPTFLAGS)
|
2012-06-04 14:42:41 +02:00
|
|
|
ifneq ($(DEBUG),)
|
|
|
|
CFLAGS += -g -O0 -ggdb -rdynamic
|
|
|
|
else
|
|
|
|
CFLAGS += -g -O2 -fno-strict-aliasing
|
|
|
|
endif
|
|
|
|
CFLAGS += -Wall -Wstrict-prototypes -fPIC
|
|
|
|
+endif
|
|
|
|
CFLAGS += -DTGT_VERSION=\"$(VERSION)$(EXTRAVERSION)\"
|
2007-04-11 04:44:39 +02:00
|
|
|
|
2008-08-08 17:24:37 +02:00
|
|
|
LIBS += -lpthread
|