diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-01-15 15:42:14 +0100 |
---|---|---|
committer | Bernhard Schommer <bernhardschommer@gmail.com> | 2015-01-15 15:42:14 +0100 |
commit | 83023733e8ac5fa28893b260664f6d6527b481ab (patch) | |
tree | f95debbe0c1daf2ef6e8f6cbe2443215cd4ecf37 /configure | |
parent | 5aecefe808aaaad6ab05037e7d5e7f53b53e0b94 (diff) | |
download | compcert-83023733e8ac5fa28893b260664f6d6527b481ab.tar.gz compcert-83023733e8ac5fa28893b260664f6d6527b481ab.zip |
Added variable to the Makefile to specify additional linker commands and changed the configure script to deactivated the checklink build if needed.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -18,6 +18,7 @@ libdir='$(PREFIX)/lib/compcert' toolprefix='' target='' has_runtime_lib=true +build_checklink=true usage='Usage: ./configure [options] target @@ -64,6 +65,8 @@ while : ; do toolprefix="$2"; shift;; -no-runtime-lib) has_runtime_lib=false; shift;; + -no-checklink) + build_checklink=false; shift;; *) if test -n "$target"; then echo "$usage" 1>&2; exit 2; fi target="$1";; @@ -89,7 +92,7 @@ case "$target" in casmruntime="${toolprefix}gcc -c -Wa,-mregnames" clinker="${toolprefix}gcc" libmath="-lm" - cchecklink=true;; + cchecklink=build_checklink;; powerpc-eabi-diab|ppc-eabi-diab) arch="powerpc" model="standard" @@ -101,7 +104,7 @@ case "$target" in asm_supports_cfi=false clinker="${toolprefix}dcc" libmath="-lm" - cchecklink=true;; + cchecklink=build_checklink;; arm*-*) arch="arm" case "$target" in |