Skip to content
Snippets Groups Projects
Commit 3d791463 authored by rswindell's avatar rswindell
Browse files

Don't use default compiler if bcc is defined on command-line.

parent 5b3409c5
No related branches found
No related tags found
No related merge requests found
...@@ -38,23 +38,23 @@ else ...@@ -38,23 +38,23 @@ else
endif endif
ifdef bcc ifdef bcc
CC ?= bc++ -q CC = bc++ -q
CCPRE := bcc CCPRE := bcc
CXX ?= bc++ -q CXX = bc++ -q
LD = ilink -q LD = ilink -q
CFLAGS += -mm -md -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus CFLAGS += -mm -md -D__unix__ -w-csu -w-pch -w-ccc -w-rch -w-par -w-aus
else else
CFLAGS += -MMD -Wall CFLAGS += -MMD -Wall
CCPRE ?= gcc CCPRE ?= gcc
ifdef BUILD_DEPENDS ifdef BUILD_DEPENDS
CC = ../build/mkdep -a CC = ../build/mkdep -a
CXX = ../build/mkdep -a CXX = ../build/mkdep -a
LD = echo LD = echo
COMPILE_MSG := Depending COMPILE_MSG := Depending
else else
CC ?= gcc CC ?= gcc
CXX ?= g++ CXX ?= g++
LD ?= ld LD ?= ld
COMPILE_MSG := Compiling COMPILE_MSG := Compiling
endif endif
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment