File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
INCHI-1-SRC/INCHI_EXE/inchi-1/gcc Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -56,13 +56,21 @@ LINKER = clang++ -s
5656endif
5757else
5858ifndef C_COMPILER
59+ ifeq ($(OS_ID ) ,0)
60+ C_COMPILER = gcc -static-libgcc
61+ else
5962C_COMPILER = gcc
63+ endif
6064$(info Both GCC/G++ and Clang(++)/LLVM detected. Compiling with GCC/G++ (default) -- please edit makefile to compile with Clang(++)/LLVM.)
6165$(info )
6266endif
6367ifndef CPP_COMPILER
68+ ifeq ($(OS_ID ) ,0)
69+ CPP_COMPILER = g++ -static-libgcc
70+ else
6471CPP_COMPILER = g++
6572endif
73+ endif
6674ifndef LINKER
6775LINKER = g++ -s
6876endif
Original file line number Diff line number Diff line change @@ -51,13 +51,21 @@ LINKER = clang++ -s
5151endif
5252else
5353ifndef C_COMPILER
54+ ifeq ($(OS_ID),0)
55+ C_COMPILER = gcc -static-libgcc
56+ else
5457C_COMPILER = gcc
58+ endif
5559$(info Both GCC/G++ and Clang(++)/LLVM detected. Compiling with GCC/G++ (default) -- please edit makefile to compile with Clang(++)/LLVM.)
5660$(info )
5761endif
5862ifndef CPP_COMPILER
63+ ifeq ($(OS_ID),0)
64+ CPP_COMPILER = g++ -static-libgcc
65+ else
5966CPP_COMPILER = g++
6067endif
68+ endif
6169ifndef LINKER
6270LINKER = g++ -s
6371endif
You can’t perform that action at this time.
0 commit comments