Makefile: cleanups
@@ -137,11 +137,9 @@ else
ARCH_CFLAGS += -Wextra -Wno-initializer-overrides -Wno-override-init \
-Wno-unknown-warning-option -Wno-unknown-pragmas \
-funroll-loops
-ifeq ($(OS),OpenBSD)
ARCH_LDFLAGS := -L/usr/local/lib -lm
-else
- ARCH_LDFLAGS := -L/usr/local/lib -lrt -lm
- # OS OpenBSD
+ ifneq ($(OS),OpenBSD)
+ ARCH_LDFLAGS += -lrt
endif
# OS Posix
endif
