mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 15:46:31 +00:00
Fixed *nix build support on x64 platforms
This commit is contained in:
parent
49597cc0d3
commit
5151c341a4
2
makefile
2
makefile
@ -34,7 +34,7 @@ ifeq ($(WIN32),)
|
||||
ifeq (cygwin,$(findstring cygwin,$(OSTYPE)))
|
||||
OS_CCDEFS += -O2
|
||||
endif
|
||||
ifeq (librt,$(shell if $(TEST) -e /usr/lib/librt.$(LIBEXT); then echo librt; fi))
|
||||
ifeq (librt,$(shell if $(TEST) -e /usr/lib/librt.$(LIBEXT) -o -e /usr/lib64/librt.$(LIBEXT); then echo librt; fi))
|
||||
OS_LDFLAGS += -lrt
|
||||
endif
|
||||
ifeq (libpthread,$(shell if $(TEST) -e /usr/lib/libpthread.$(LIBEXT) -o -e /usr/lib64/libpthread.$(LIBEXT); then echo libpthread; fi))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user