diff --git a/configure.ac b/configure.ac index 66ba23db5..68d359c6b 100644 --- a/configure.ac +++ b/configure.ac @@ -4232,8 +4232,10 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau ;; aarch64-none-elf*) ARCH=switch - SDL_CFLAGS="$SDL_CFLAGS -isystem ${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include" - EXTRA_CFLAGS="$EXTRA_CFLAGS -D__SWITCH__ -march=armv8-a -mtune=cortex-a57 -mtp=soft -ftls-model=local-exec -fPIC" + SDL_CFLAGS="$SDL_CFLAGS -D__SWITCH__ -march=armv8-a -mtune=cortex-a57 \ + -mtp=soft -ftls-model=local-exec \ + -isystem ${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include" + EXTRA_CFLAGS="$EXTRA_CFLAGS -fPIC" EXTRA_CFLAGS="$EXTRA_CFLAGS $SDL_CFLAGS -g -O3" EXTRA_CFLAGS="$EXTRA_CFLAGS -DSDL_VIDEO_STATIC_ANGLE" EXTRA_LDFLAGS="-march=armv8-a -fPIE -L${DEVKITPRO}/libnx/lib -lEGL -lglapi -ldrm_nouveau -lnx"