mirror of
https://github.com/encounter/SDL.git
synced 2025-06-15 11:03:36 +00:00
switch flags to sdl2-config
This commit is contained in:
parent
05b71ace4f
commit
9a0008af63
6
configure
vendored
6
configure
vendored
@ -25621,10 +25621,10 @@ $as_echo "#define SDL_TIMER_UNIX 1" >>confdefs.h
|
|||||||
;;
|
;;
|
||||||
aarch64-none-elf*)
|
aarch64-none-elf*)
|
||||||
ARCH=switch
|
ARCH=switch
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -isystem${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include -D__SWITCH__=1"
|
SDL_CFLAGS="$SDL_CFLAGS -isystem ${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include -D__SWITCH__=1 -march=armv8-a -mtune=cortex-a57 -mtp=soft -ftls-model=local-exec"
|
||||||
|
SDL_LIBS="-march=armv8-a -fPIC -specs=${DEVKITPRO}/libnx/switch.specs -L${DEVKITPRO}/portlibs/switch/lib $SDL_LIBS -L${DEVKITPRO}/libnx/lib -lnx"
|
||||||
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O2 $SDL_CFLAGS -fPIC"
|
||||||
CheckDeclarationAfterStatement
|
CheckDeclarationAfterStatement
|
||||||
CheckDiskAudio
|
|
||||||
CheckDummyAudio
|
|
||||||
|
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
if test x$enable_video = xyes; then
|
if test x$enable_video = xyes; then
|
||||||
|
@ -4232,8 +4232,9 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
|||||||
;;
|
;;
|
||||||
aarch64-none-elf*)
|
aarch64-none-elf*)
|
||||||
ARCH=switch
|
ARCH=switch
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -isystem${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include -D__SWITCH__=1"
|
SDL_CFLAGS="$SDL_CFLAGS -isystem ${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include -D__SWITCH__=1 -march=armv8-a -mtune=cortex-a57 -mtp=soft -ftls-model=local-exec"
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O2 -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIC -ftls-model=local-exec"
|
SDL_LIBS="-march=armv8-a -fPIC -specs=${DEVKITPRO}/libnx/switch.specs -L${DEVKITPRO}/portlibs/switch/lib $SDL_LIBS -L${DEVKITPRO}/libnx/lib -lnx"
|
||||||
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O2 $SDL_CFLAGS -fPIC"
|
||||||
CheckDeclarationAfterStatement
|
CheckDeclarationAfterStatement
|
||||||
|
|
||||||
# Set up files for the video library
|
# Set up files for the video library
|
||||||
|
Loading…
x
Reference in New Issue
Block a user