Fix for freebsd on odoors

This commit is contained in:
Andrew Pamment 2017-03-19 12:55:33 +10:00
parent 1584db33eb
commit 923d242bac

View File

@ -37,7 +37,6 @@
# bcc - For Borland C++ # bcc - For Borland C++
# cl - For Microsoft compilers # cl - For Microsoft compilers
# #
CC := gcc
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
# #
@ -53,7 +52,13 @@ OBJDIR := objs-$(OS)/
LIBDIR := libs-$(OS)/ LIBDIR := libs-$(OS)/
EXEDIR := exe-$(OS)/ EXEDIR := exe-$(OS)/
ifeq ($(OS), FreeBSD)
CC := cc
LD := cc
else
CC := gcc
LD := gcc LD := gcc
endif
ifdef DEBUG ifdef DEBUG
CFLAGS += -g -DOD_DEBUG CFLAGS += -g -DOD_DEBUG