Skip to content

Commit

Permalink
Partially revert 6ecd340 to remove hardcoded paths
Browse files Browse the repository at this point in the history
Due to hardcoded GDB_ROOT and OCAML_ROOT, $CC was not able to find
headers.

Fixes mshinwell#7

Signed-off-by: Justin Cinkelj <[email protected]>
  • Loading branch information
justinc1 committed Mar 8, 2018
1 parent 6ecd340 commit bd186f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@
# Building libmonda requires a PIC-enabled OCaml toolchain (configure
# with -fPIC).

#GDB_ROOT=$(PREFIX)/libexec/gdb-ocaml.7.11/src
#OCAML_ROOT=$(PREFIX)
GDB_ROOT=/mnt/local/sda1/mshinwell/mshinwell-gdb
OCAML_ROOT=/mnt/local/sda1/mshinwell/mshinwell-ocaml2-install
GDB_ROOT=$(PREFIX)/libexec/gdb-ocaml.7.11/src
OCAML_ROOT=$(PREFIX)
#GDB_ROOT=/mnt/local/sda1/mshinwell/mshinwell-gdb
#OCAML_ROOT=/mnt/local/sda1/mshinwell/mshinwell-ocaml2-install

OCAMLOPT=$(OCAML_ROOT)/bin/ocamlopt -verbose -I +compiler-libs -I ./src \
-g -fPIC -I ./gdb_backend
Expand Down

0 comments on commit bd186f2

Please sign in to comment.