mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-25 02:09:59 +02:00
Merge "conditionally add -msse4.1 in Makefile.unix"
This commit is contained in:
@ -71,6 +71,12 @@ EXTRA_FLAGS += -Wformat-security -Wformat-nonliteral
|
|||||||
|
|
||||||
# EXTRA_FLAGS += -Wvla
|
# EXTRA_FLAGS += -Wvla
|
||||||
|
|
||||||
|
# SSE4.1-specific flags:
|
||||||
|
ifeq ($(HAVE_SSE41), 1)
|
||||||
|
EXTRA_FLAGS += -DWEBP_HAVE_SSE41
|
||||||
|
src/dsp/%_sse41.o: EXTRA_FLAGS += -msse4.1
|
||||||
|
endif
|
||||||
|
|
||||||
# AVX2-specific flags:
|
# AVX2-specific flags:
|
||||||
ifeq ($(HAVE_AVX2), 1)
|
ifeq ($(HAVE_AVX2), 1)
|
||||||
EXTRA_FLAGS += -DWEBP_HAVE_AVX2
|
EXTRA_FLAGS += -DWEBP_HAVE_AVX2
|
||||||
|
Reference in New Issue
Block a user