mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-23 19:33:56 +00:00
Tests, fixes on third platform. (#1168)
MT linkage fix mainly. Backports commit 72f759838774d1fa23de901c9b236d726e4ad5e4 from unicorn
This commit is contained in:
parent
c206e37963
commit
dd47649a3b
3 changed files with 7 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
CFLAGS += -L ../../ -I ../../include
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
LDFLAGS += -pthread
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
LDFLAGS += -lrt -pthread
|
||||
LDFLAGS += -lrt
|
||||
endif
|
||||
|
||||
LDFLAGS += -lunicorn
|
||||
|
|
|
@ -3,8 +3,9 @@ CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
|
|||
LDLIBS += -L../../ -lm -lunicorn
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
LDLIBS += -pthread
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
LDLIBS += -lrt -pthread
|
||||
LDLIBS += -lrt
|
||||
endif
|
||||
|
||||
EXECUTE_VARS = LD_LIBRARY_PATH=../../cmocka/src:../../ DYLD_LIBRARY_PATH=../../
|
||||
|
|
|
@ -2,12 +2,14 @@ CFLAGS += -Wall -Werror -Wno-unused-function -g
|
|||
CFLAGS += -D__USE_MINGW_ANSI_STDIO=1
|
||||
CFLAGS += -L ../../ -I ../../include
|
||||
CFLAGS += -L ../../cmocka/src -I ../../cmocka/include
|
||||
CFLAGS += -L /usr/local/lib -I /usr/local/include
|
||||
ASFLAGS += --32
|
||||
OBJCOPY = objcopy
|
||||
|
||||
UNAME_S := $(shell uname -s)
|
||||
LDLIBS += -pthread
|
||||
ifeq ($(UNAME_S), Linux)
|
||||
LDLIBS += -lrt -pthread
|
||||
LDLIBS += -lrt
|
||||
else ifeq ($(UNAME_S), Darwin)
|
||||
OBJCOPY = gobjcopy
|
||||
ASFLAGS = -arch i386
|
||||
|
|
Loading…
Reference in a new issue