Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
i3status
i3status-2.7-makefile.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File i3status-2.7-makefile.patch of Package i3status
From: Togan Muftuoglu <toganm@opensuse.org> Date: 2013-03-14 10:04:55 +0100 Subject: Enable optflags in Makefile References: Upstream: no --- Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) --- a/Makefile +++ b/Makefile @@ -10,9 +10,9 @@ ifndef SYSCONFDIR endif CFLAGS+=-Wall -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -CFLAGS+=-g CFLAGS+=-std=gnu99 CFLAGS+=-pedantic +CFLAGS+=$(OPTFLAGS) CPPFLAGS+=-DSYSCONFDIR=\"$(SYSCONFDIR)\" CPPFLAGS+=-DVERSION=\"${GIT_VERSION}\" CFLAGS+=-Iinclude @@ -56,19 +56,15 @@ OBJS:=$(wildcard src/*.c *.c) OBJS:=$(OBJS:.c=.o) src/%.o: src/%.c include/i3status.h - @$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< - @echo " CC $<" + $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< %.o: %.c include/%.h - @$(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< - @echo " CC $<" + $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@ $< all: i3status manpage i3status: ${OBJS} - @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) - @echo " LD $@" - + $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) clean: rm -f *.o src/*.o
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