Skip to content

Commit

Permalink
because order of -I matters
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Aug 10, 2012
1 parent 336ca5b commit 3c6cb75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/posix.mak
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ WARNINGS=-Wno-deprecated -Wstrict-aliasing
#GFLAGS = $(WARNINGS) -D__pascal= -fno-exceptions -g -DDEBUG=1 -DUNITTEST $(COV)
GFLAGS = $(WARNINGS) -D__pascal= -fno-exceptions -O2

COMMON_FLAGS = -I$(ROOT) $(GFLAGS) -DMARS=1 -DTARGET_$(TARGET)=1 -DTARGET_CPU_$(TARGET_CPU)=1
CFLAGS = $(COMMON_FLAGS)
MFLAGS = $(COMMON_FLAGS) -I$C -I$(TK)
CFLAGS = $(GFLAGS) -I$(ROOT) -DMARS=1 -DTARGET_$(TARGET)=1 -DTARGET_CPU_$(TARGET_CPU)=1
MFLAGS = $(GFLAGS) -I$C -I$(TK) -I$(ROOT) -DMARS=1 -DTARGET_$(TARGET)=1 -DTARGET_CPU_$(TARGET_CPU)=1

CH= $C/cc.h $C/global.h $C/oper.h $C/code.h $C/type.h \
$C/dt.h $C/cgcv.h $C/el.h $C/obj.h $(TARGET_CH)
Expand Down

0 comments on commit 3c6cb75

Please sign in to comment.