Mercurial > hg > dmlib
comparison Makefile.gen @ 284:d47e8cafaa63
Add -msse2 if DM_USE_SIMD is enabled.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 11 Oct 2012 08:55:21 +0300 |
parents | 2cbe74477441 |
children | 245b15cd1919 |
comparison
equal
deleted
inserted
replaced
283:4d42b8910d7e | 284:d47e8cafaa63 |
---|---|
24 DM_CFLAGS+=-DDM_USE_C | 24 DM_CFLAGS+=-DDM_USE_C |
25 endif | 25 endif |
26 | 26 |
27 # Enable SIMD routines, if requested | 27 # Enable SIMD routines, if requested |
28 ifeq ($(DM_USE_SIMD),yes) | 28 ifeq ($(DM_USE_SIMD),yes) |
29 DM_CFLAGS+=-DDM_USE_SIMD | 29 DM_CFLAGS+=-DDM_USE_SIMD -msse2 |
30 endif | 30 endif |
31 | 31 |
32 # Enable Tremor Ogg Vorbis decoder | 32 # Enable Tremor Ogg Vorbis decoder |
33 ifeq ($(DM_USE_TREMOR),yes) | 33 ifeq ($(DM_USE_TREMOR),yes) |
34 DM_CFLAGS+=-DDM_USE_TREMOR $(TREMOR_CFLAGS) | 34 DM_CFLAGS+=-DDM_USE_TREMOR $(TREMOR_CFLAGS) |