mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-04-19 12:57:16 +00:00
package/sdl2: enable SSE only if it's supported by the target
Signed-off-by: Nicolas Robin <nrosfs@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit a14a9629837a4de32a7a06a2f7b0e88958948ce5) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
1987e22185
commit
2f822c2d0c
@ -30,6 +30,12 @@ else
|
||||
SDL2_CONF_OPTS += --disable-libudev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_X86_CPU_HAS_SSE),y)
|
||||
SDL2_CONF_OPTS += --enable-sse
|
||||
else
|
||||
SDL2_CONF_OPTS += --disable-sse
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_DIRECTFB),y)
|
||||
SDL2_DEPENDENCIES += directfb
|
||||
SDL2_CONF_OPTS += --enable-video-directfb
|
||||
|
Loading…
x
Reference in New Issue
Block a user