Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions common.make
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@ CFLAGS ?= -Wall -fPIC -O2
XEN_ROOT ?= $(TOPLEVEL)/../xen-unstable.hg
XEN_DIST_ROOT ?= $(XEN_ROOT)/dist/install
CFLAGS += -I$(XEN_DIST_ROOT)/usr/include
CFLAGS += -fPIC

OCAMLOPTFLAG_G := $(shell $(OCAMLOPT) -h 2>&1 | sed -n 's/^ *\(-g\) .*/\1/p')
OCAMLOPTFLAGS = $(OCAMLOPTFLAG_G) -ccopt "$(LDFLAGS)" -dtypes $(OCAMLINCLUDE) -cc "$(CC)" -w F -warn-error F
OCAMLCFLAGS += -g $(OCAMLINCLUDE) -w F -warn-error F

#LDFLAGS = -cclib -L./

DESTDIR ?= /
VERSION := echo 0.0

Expand Down
1 change: 0 additions & 1 deletion libs/stdext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ OCAML_LIBRARY = stdext

## OBJS
threadext.cmo: threadext.ml
echo $LDFLAGS
$(call quiet-command, $(OCAMLC) $(OCAMLCFLAGS) -thread -c -o $@ $<,MLC,$@)

threadext.cmi: threadext.mli
Expand Down