Skip to content
Snippets Groups Projects
Commit 0a8331b6 authored by deuce's avatar deuce
Browse files

Strip out everything before the last / in CCPRE to allow CC to be an absolute

path.
parent 874f1ff7
Branches
Tags
No related merge requests found
...@@ -224,6 +224,7 @@ ifeq ($(shell if [ -f /usr/include/inttypes.h ] ; then echo YES ; fi),YES) ...@@ -224,6 +224,7 @@ ifeq ($(shell if [ -f /usr/include/inttypes.h ] ; then echo YES ; fi),YES)
CFLAGS += -DHAS_INTTYPES_H CFLAGS += -DHAS_INTTYPES_H
endif endif
CCPRE := $(lastword $(subst /, ,$(CCPRE)))
LIBODIR := $(CCPRE).$(machine).lib.$(BUILDPATH) LIBODIR := $(CCPRE).$(machine).lib.$(BUILDPATH)
OBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH) OBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)
MTOBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)-mt MTOBJODIR := $(CCPRE).$(machine).obj.$(BUILDPATH)-mt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment