aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorXavier Leroy <xavierleroy@users.noreply.github.com>2016-08-17 11:31:23 +0200
committerGitHub <noreply@github.com>2016-08-17 11:31:23 +0200
commit0f9d824914c9dff0bf5d983ab387a5b5326307fc (patch)
tree162ffbc12514864db4d1e7cbff86559be4924616 /configure
parentb1a059251053a061d98e4b440bfab40ffd8761c7 (diff)
parent5309f16159e4decd81330622dcdd6eb4b25819a1 (diff)
downloadcompcert-0f9d824914c9dff0bf5d983ab387a5b5326307fc.tar.gz
compcert-0f9d824914c9dff0bf5d983ab387a5b5326307fc.zip
Merge pull request #107 from AbsInt/add-file
Add support for response files
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 28683ade..13927592 100755
--- a/configure
+++ b/configure
@@ -20,6 +20,7 @@ target=''
has_runtime_lib=true
has_standard_headers=true
clightgen=false
+responsefile="gnu"
usage='Usage: ./configure [options] target
@@ -118,6 +119,7 @@ case "$target" in
asm_supports_cfi=false
clinker="${toolprefix}dcc"
libmath="-lm"
+ responsefile="diab"
;;
*)
system="linux"
@@ -386,6 +388,7 @@ HAS_RUNTIME_LIB=$has_runtime_lib
HAS_STANDARD_HEADERS=$has_standard_headers
ASM_SUPPORTS_CFI=$asm_supports_cfi
CLIGHTGEN=$clightgen
+RESPONSEFILE=$responsefile
EOF
else
cat >> Makefile.config <<'EOF'
@@ -469,6 +472,9 @@ ASM_SUPPORTS_CFI=false
# Turn on/off compilation of clightgen
CLIGHTGEN=false
+# Whether the other tools support responsefiles in gnu syntax
+RESPONSEFILE="none"
+
EOF
fi