1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-25 14:46:52 +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 -g
CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -fpic -O2 -fvisibility=hidden CFLAGS=-std=c99 -Wall -Wextra -Isrc/include -fpic -O2 -fvisibility=hidden
CLIBS=-lm -ldl -lrt CLIBS=-lm -ldl
JANET_TARGET=janet JANET_TARGET=janet
JANET_LIBRARY=libjanet.so JANET_LIBRARY=libjanet.so
DEBUGGER=gdb DEBUGGER=gdb
@ -46,6 +46,7 @@ ifeq ($(UNAME), Darwin)
LDCONFIG:= LDCONFIG:=
else else
CFLAGS:=$(CFLAGS) -rdynamic CFLAGS:=$(CFLAGS) -rdynamic
CLIBS:=$(CLIBS) -lrt
endif endif
# Source headers # Source headers