i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 6ae9934e2017bb00f78677fb37c4baf772abe536
parent 252999f6403d53252c642042a97ea13fa0e53891
Author: Sebastian Frysztak <sebfry@gmail.com>
Date:   Sat,  5 Nov 2016 10:07:05 +0100

Pass SIMD-specific CFLAGS only to blur_simd.c

Diffstat:
MMakefile | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -14,9 +14,9 @@ endif
 CFLAGS += -std=c99
 CFLAGS += -pipe
 CFLAGS += -Wall
-CFLAGS += -mssse3
-CFLAGS += -mavx
 CFLAGS += -O2
+SIMD_CFLAGS += -mavx
+SIMD_CFLAGS += -mssse3
 CPPFLAGS += -D_GNU_SOURCE
 CPPFLAGS += -DXKBCOMPOSE=$(shell if test -e /usr/include/xkbcommon/xkbcommon-compose.h ; then echo 1 ; else echo 0 ; fi )
 CFLAGS += $(shell $(PKG_CONFIG) --cflags cairo xcb-dpms xcb-xinerama xcb-atom xcb-image xcb-xkb xkbcommon xkbcommon-x11)
@@ -45,6 +45,7 @@ all: i3lock
 debug: CFLAGS += -g
 debug: i3lock
 
+blur_simd.o : CFLAGS += $(SIMD_CFLAGS)
 i3lock: ${FILES}
     $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)