Skip to content

Commit

Permalink
Fix up Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
MerlijnWajer committed Aug 22, 2013
1 parent 5032ec5 commit 125f743
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion plugin/source/Makefile
Expand Up @@ -14,6 +14,12 @@ else
lazaruspath := /usr/lib/lazarus/0.9.28.2
endif

ifdef FPC_PATH
fpcpath = $(FPC_PATH)
else
fpcpath = fpc
endif

# Shouldn't need to touch below here, unless you add a unit or something...

# let's detect what linux platform we are running on, so if we run build or the default target
Expand All @@ -40,7 +46,7 @@ else
our_target := unknown
endif

CC := fpc
CC := $(fpcpath)
build := $(CC)

# -Xd doesn't seem to cause problems when not cross-compiling, and is needed when cross-compiling, so I'm leaving it here
Expand Down

0 comments on commit 125f743

Please sign in to comment.