summaryrefslogtreecommitdiff
path: root/byterun
diff options
context:
space:
mode:
authorSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-03-13 17:04:37 +0100
committerSébastien Hinderer <Sebastien.Hinderer@inria.fr>2017-03-29 11:10:06 +0200
commitcc7ad5650aac641053178ec1d08789b8e793e87b (patch)
tree4a3e736f7bfe200b9805ce757487f538a9615e8d /byterun
parent1effaeb0581cf81e7af3a732d34a7e393423605e (diff)
downloadocaml-cc7ad5650aac641053178ec1d08789b8e793e87b.tar.gz
Get rid of BYTECC and NATIVECC
Use the same C compiler, CC, in all the build system.
Diffstat (limited to 'byterun')
-rw-r--r--byterun/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/byterun/Makefile b/byterun/Makefile
index e638bcc4a1..01b3f3bba5 100644
--- a/byterun/Makefile
+++ b/byterun/Makefile
@@ -41,12 +41,10 @@ LIBRARIES += libcamlrun_pic.$(A) libcamlrun_shared.$(SO)
endif
endif
-CC=$(BYTECC)
+CFLAGS := $(BYTECFLAGS)
ifdef BOOTSTRAPPING_FLEXLINK
-CFLAGS=-DBOOTSTRAPPING_FLEXLINK
-else
-CFLAGS=
+CFLAGS += -DBOOTSTRAPPING_FLEXLINK
endif
# On Windows, OCAML_STDLIB_DIR needs to be defined dynamically