diff options
Diffstat (limited to 'app-laptop/spicctrl/files')
-rw-r--r-- | app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch index a49a29c30fb5..ea2935d02963 100644 --- a/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch +++ b/app-laptop/spicctrl/files/spicctrl-1.9-makefile.patch @@ -1,11 +1,21 @@ ---- Makefile.orig 2012-11-20 12:38:41.528871594 +0400 -+++ Makefile 2012-11-20 12:39:42.630871103 +0400 -@@ -14,7 +14,7 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,5 @@ +-CC = gcc +-CFLAGS = -Wall -W -Wshadow -Wstrict-prototypes -Wcast-qual -Wcast-align \ +- -Wwrite-strings -O2 -pipe ++CFLAGS += -Wall -W -Wshadow -Wstrict-prototypes -Wcast-qual -Wcast-align \ ++ -Wwrite-strings + SRC = spicctrl.c + OBJ = $(SRC:.c=.o) + LIBS = +@@ -13,9 +12,6 @@ + all: spicctrl - spicctrl: $(OBJ) +-spicctrl: $(OBJ) - $(CC) -o spicctrl $(OBJ) $(LIBS) -+ $(CC) $(CFLAGS) $(LDFLAGS) -o spicctrl $(OBJ) $(LIBS) - +- clean: rm -f $(OBJ) spicctrl *~ + |