File tgt-fix-build of Package tgt

diff --git a/usr/Makefile b/usr/Makefile
index 64cb58c..deb7e39 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -28,12 +28,15 @@ INCLUDES += -I.
 
 CFLAGS += -D_GNU_SOURCE
 CFLAGS += $(INCLUDES)
+ifneq ($(OPTFLAGS),)
+CFLAGS += $(OPTFLAGS)
 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)\"
 
 LIBS += -lpthread
openSUSE Build Service is sponsored by