Makefile (honggfuzz-2.4) | : | Makefile (honggfuzz-2.5) | ||
---|---|---|---|---|
skipping to change at line 149 | skipping to change at line 149 | |||
-Wl,--rpath=/usr/pkg/lib | -Wl,--rpath=/usr/pkg/lib | |||
# OS NetBSD | # OS NetBSD | |||
else | else | |||
ARCH := POSIX | ARCH := POSIX | |||
ARCH_SRCS := $(sort $(wildcard posix/*.c)) | ARCH_SRCS := $(sort $(wildcard posix/*.c)) | |||
ARCH_CFLAGS := -Wno-initializer-overrides \ | ARCH_CFLAGS := -Wno-initializer-overrides \ | |||
-Wno-unknown-warning-option -Wno-unknown-pragmas | -Wno-unknown-warning-option -Wno-unknown-pragmas | |||
ARCH_LDFLAGS := -L/usr/local/lib -lm | ARCH_LDFLAGS := -L/usr/local/lib -lm | |||
ifeq ($(OS),SunOS) | ||||
ARCH_CFLAGS += -D_POSIX_C_SOURCE=200809L -D__EXTENSIONS__=1 | ||||
ARCH_LDFLAGS += -lkstat -lsocket -lnsl | ||||
endif | ||||
ifneq ($(OS),OpenBSD) | ifneq ($(OS),OpenBSD) | |||
ARCH_LDFLAGS += -lrt | ARCH_LDFLAGS += -lrt | |||
endif | endif | |||
# OS Posix | # OS Posix | |||
endif | endif | |||
CFLAGS_BLOCKS := | CFLAGS_BLOCKS := | |||
COMPILER = $(shell $(CC) -v 2>&1 | \ | COMPILER = $(shell $(CC) -v 2>&1 | \ | |||
grep $(GREP_COLOR) -oE '((gcc|clang) version|LLVM version.*clang)' | \ | grep $(GREP_COLOR) -oE '((gcc|clang) version|LLVM version.*clang)' | \ | |||
grep $(GREP_COLOR) -oE '(clang|gcc)' | head -n1) | grep $(GREP_COLOR) -oE '(clang|gcc)' | head -n1) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added |