pkg-config: Avoid duplication of linker flags (#13)

This commit is contained in:
Carsten Teibes 2018-05-01 10:12:04 +02:00 committed by Dave Murphy
parent f77437cd4b
commit f07aea199b
1 changed files with 2 additions and 2 deletions

View File

@ -4232,9 +4232,9 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
;; ;;
aarch64-none-elf*) aarch64-none-elf*)
ARCH=switch ARCH=switch
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_CFLAGS="$SDL_CFLAGS -isystem ${DEVKITPRO}/libnx/include -I${DEVKITPRO}/portlibs/switch/include -D__SWITCH__ -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" EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O2 $SDL_CFLAGS -fPIC"
EXTRA_LDFLAGS="-march=armv8-a -fPIE -specs=${DEVKITPRO}/libnx/switch.specs -L${DEVKITPRO}/libnx/lib -lnx"
CheckDeclarationAfterStatement CheckDeclarationAfterStatement
# Set up files for the video library # Set up files for the video library