mirror of
https://github.com/simh/simh.git
synced 2026-05-02 14:20:05 +00:00
Fixed builds on x64 *nix platforms to properly detect the availability of libm
This commit is contained in:
2
makefile
2
makefile
@@ -28,7 +28,7 @@ ifeq ($(WIN32),)
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
OS_CCDEFS = -D_GNU_SOURCE
|
OS_CCDEFS = -D_GNU_SOURCE
|
||||||
ifeq (libm,$(shell if $(TEST) -e /usr/lib/libm.$(LIBEXT); then echo libm; fi))
|
ifeq (libm,$(shell if $(TEST) -e /usr/lib/libm.$(LIBEXT) -o -e /usr/lib64/libm.$(LIBEXT); then echo libm; fi))
|
||||||
OS_LDFLAGS += -lm
|
OS_LDFLAGS += -lm
|
||||||
endif
|
endif
|
||||||
ifeq (SunOS,$(shell uname))
|
ifeq (SunOS,$(shell uname))
|
||||||
|
|||||||
Reference in New Issue
Block a user