mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-27 02:00:49 +00:00
Fix build.
This commit is contained in:
parent
6c756b664d
commit
4b25ad4390
@ -48,12 +48,10 @@ else ifeq ($(platform), wii)
|
||||
AR = $(DEVKITPPC)/bin/powerpc-eabi-ar
|
||||
CFLAGS += -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -DWORDS_BIGENDIAN=1 -D_GNU_SOURCE=1 -DHAVE_LIBMAD -DMUSIC_SUPPORT
|
||||
else
|
||||
TARGET := libretro.dll
|
||||
TARGET := retro.dll
|
||||
CC = gcc
|
||||
fpic := -fPIC
|
||||
LD_FLAGS := -fPIC
|
||||
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=src/libretro/link.T
|
||||
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__ -DHAVE_LIBMAD -DMUSIC_SUPPORT
|
||||
CFLAGS += -D__WIN32__ -D__WIN32_LIBRETRO__ -DHAVE_LIBMAD -DMUSIC_SUPPORT -Wno-missing-field-initializers -DHAVE_STRLWR -DNO_ASM_BYTEORDER
|
||||
endif
|
||||
|
||||
ifeq ($(DEBUG), 1)
|
||||
|
@ -60,7 +60,7 @@
|
||||
*/
|
||||
|
||||
/* Try to use superfast macros on systems that support them */
|
||||
#ifdef HAVE_ASM_BYTEORDER_H
|
||||
#if defined(HAVE_ASM_BYTEORDER_H) && !defined(NO_ASM_BYTEORDER)
|
||||
#include <asm/byteorder.h>
|
||||
#ifdef __arch_swab16
|
||||
#define doom_swap_s (signed short)__arch_swab16
|
||||
|
Loading…
Reference in New Issue
Block a user