Skip to content

Commit

Permalink
Remove the BYTECCCOMPOPTS build variable
Browse files Browse the repository at this point in the history
This variable is actually never defined.
  • Loading branch information
shindere committed Jun 22, 2018
1 parent 6380e26 commit fd61a83
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 16 deletions.
3 changes: 3 additions & 0 deletions Changes
Expand Up @@ -123,6 +123,9 @@ Working version
(Sébastien Hinderer, review by David Allsopp, Xavier Leroy and
Damien Doligez)

- GPR#1854: remove the no longer defined BYTECCCOMPOPTS build variable.
(Sébastien Hinderer, review by ?)

### Internal/compiler-libs changes:

- GPR#1745: do not generalize the type of every sub-pattern, only of variables.
Expand Down
9 changes: 0 additions & 9 deletions config/Makefile-templ
Expand Up @@ -45,15 +45,6 @@ HASHBANGSCRIPTS=true
#CC=gcc
#BYTECFLAGS=

### Additional compile-time options for $(BYTECC).
# If using gcc on Intel x86:
# (the -fno-defer-pop option circumvents a bug in certain versions of gcc)
#BYTECCCOMPOPTS=-fno-defer-pop -Wall
# If using gcc and being cautious:
#BYTECCCOMPOPTS=-Wall
# Otherwise:
#BYTECCCOMPOPTS=

### Additional link-time options for $(BYTECC)
# To support dynamic loading of shared libraries (they need to look at
# our own symbols):
Expand Down
6 changes: 0 additions & 6 deletions configure
Expand Up @@ -419,12 +419,6 @@ esac
# invoked to process a third-party C source file passed to ocamlc
# when no -cc command-line option has been specified.

# The BYTECCCOMPOPTS make variable contains options to pass to the C
# compiler but only when compiling C files that belong to the OCaml
# distribution.
# In other words, when ocamlc is called to compile a third-party C
# source file, it will _not_ pass these options to the C compiler.

# The SHAREDLIB_CFLAGS make variable contains options to use to compile C
# source files so that the resulting object files can then be integrated
# into shared libraries. It is passed to CC for both C source files
Expand Down
2 changes: 1 addition & 1 deletion ocamltest/Makefile
Expand Up @@ -194,7 +194,7 @@ ocamltest.opt$(EXE): $(native_modules)
$(ocamllex) -q $<

%.$(O): %.c
$(CC) $(OC_CFLAGS) $(OC_CPPFLAGS) $(BYTECCCOMPOPTS) -c $<
$(CC) $(OC_CFLAGS) $(OC_CPPFLAGS) -c $<

ocamltest_config.ml: ocamltest_config.ml.in Makefile
sed \
Expand Down

0 comments on commit fd61a83

Please sign in to comment.