Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
tgt
tgt-fix-build
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor