1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-10 23:50:26 +00:00

Don't add -lrt flag on macos

This commit is contained in:
Calvin Rose 2018-09-10 14:56:39 -04:00
parent 0389971049
commit 725fd52357

View File

@ -34,7 +34,7 @@ BINDIR=$(PREFIX)/bin
#CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -fpic -g
CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -fpic -O2 -fvisibility=hidden
CLIBS=-lm -ldl -lrt
CLIBS=-lm -ldl
JANET_TARGET=janet
JANET_LIBRARY=libjanet.so
DEBUGGER=gdb
@ -46,6 +46,7 @@ ifeq ($(UNAME), Darwin)
LDCONFIG:=
else
CFLAGS:=$(CFLAGS) -rdynamic
CLIBS:=$(CLIBS) -lrt
endif
# Source headers