1 # Configuration for FreeBSD
3 include $(TOP)/configs/default
15 DEFINES = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -DUSE_XSHM \
18 X11_INCLUDES = -I/usr/local/include
20 CFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES) -ffast-math -pedantic
22 CXXFLAGS += $(WARN_FLAGS) $(OPT_FLAGS) $(PIC_FLAGS) $(DEFINES) $(X11_INCLUDES)
25 # Work around aliasing bugs - developers should comment this out
26 CFLAGS += -fno-strict-aliasing
27 CXXFLAGS += -fno-strict-aliasing
29 EXTRA_LIB_PATH = -L/usr/local/lib