diff options
| author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-13 17:04:37 +0100 |
|---|---|---|
| committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-29 11:10:06 +0200 |
| commit | cc7ad5650aac641053178ec1d08789b8e793e87b (patch) | |
| tree | 4a3e736f7bfe200b9805ce757487f538a9615e8d /asmrun | |
| parent | 1effaeb0581cf81e7af3a732d34a7e393423605e (diff) | |
| download | ocaml-cc7ad5650aac641053178ec1d08789b8e793e87b.tar.gz | |
Get rid of BYTECC and NATIVECC
Use the same C compiler, CC, in all the build system.
Diffstat (limited to 'asmrun')
| -rw-r--r-- | asmrun/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/asmrun/Makefile b/asmrun/Makefile index 602eb86f0f..9b91b17770 100644 --- a/asmrun/Makefile +++ b/asmrun/Makefile @@ -29,8 +29,6 @@ sources := $(LINKEDFILES) INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR) -CC=$(NATIVECC) - ifeq "$(UNIX_OR_WIN32)" "win32" LN = cp sources += ../byterun/unix.c @@ -39,7 +37,7 @@ LN = ln -s sources += ../byterun/win32.c endif -FLAGS=\ +FLAGS = $(NATIVECFLAGS) \ -I../byterun \ -DNATIVE_CODE -DTARGET_$(ARCH) @@ -69,9 +67,9 @@ PICFLAGS=$(FLAGS) $(SHAREDCCCOMPOPTS) ASPPFLAGS = -DSYS_$(SYSTEM) ifeq "$(UNIX_OR_WIN32)" "unix" ASPPFLAGS += -DMODEL_$(MODEL) -CFLAGS=$(FLAGS) -g +CFLAGS = $(FLAGS) -g else -CFLAGS=$(FLAGS) +CFLAGS = $(FLAGS) endif COBJS=startup_aux.$(O) startup.$(O) main.$(O) fail.$(O) \ |
