diff options
| author | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-30 16:27:21 +0200 |
|---|---|---|
| committer | Sébastien Hinderer <Sebastien.Hinderer@inria.fr> | 2017-03-30 16:27:21 +0200 |
| commit | dc3038ced643ceafbad046643186aa60ecab8c8c (patch) | |
| tree | 4a7eeeb5011dbe01ed7f4b9a7ce0d25a2cae122a /configure | |
| parent | a198730fdecd31fcaeb4998ebe29f4e93e81927f (diff) | |
| download | ocaml-dc3038ced643ceafbad046643186aa60ecab8c8c.tar.gz | |
Adjust C compiler invocation
This commit is a follow-up to PR#1114. It ensures that C compilers
other than msvc are called with a space between the -o option and
its object or executabe file argument.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1973,7 +1973,8 @@ echo "BYTECCLIBS=$cclibs $dllib $curseslibs $pthread_link \ $instrumented_runtime_libs" >> Makefile echo "RPATH=$rpath" >> Makefile echo "EXE=$exe" >> Makefile -echo "OUTPUTEXE=-o" >> Makefile +echo "EMPTY=" >> Makefile +echo "OUTPUTEXE=-o \$(EMPTY)" >> Makefile echo "SUPPORTS_SHARED_LIBRARIES=$shared_libraries_supported" >> Makefile echo "SHAREDCCCOMPOPTS=$sharedcccompopts" >> Makefile echo "MKSHAREDLIBRPATH=$mksharedlibrpath" >> Makefile @@ -2009,7 +2010,7 @@ echo "O=o" >> Makefile echo "A=a" >> Makefile echo "SO=$SO" >> Makefile echo "EXT_OBJ=.o" >> Makefile -echo "OUTPUTOBJ=-o" >> Makefile +echo "OUTPUTOBJ=-o \$(EMPTY)" >> Makefile echo "EXT_ASM=.s" >> Makefile echo "EXT_LIB=.a" >> Makefile echo "EXT_DLL=.$SO" >> Makefile |
