aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-14 18:05:09 -0700
committerMichael Forney <mforney@mforney.org>2019-05-14 19:20:00 -0700
commit608910e8fd5d7a939d51adaf3c925dae7a6bac6f (patch)
treee1ed6bec829af8fc3b85f96cf6c86fd5762c6aba
parent7ccc6fde97af65fd471abea08bcf2ed8dbab4f52 (diff)
configure: Clear some variables before we conditionally set them
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index c42862b..4293e3b 100755
--- a/configure
+++ b/configure
@@ -52,6 +52,10 @@ aarch64*) qbetarget=arm64 ;;
*) fail "unsupported architecture '${target%%-*}'"
esac
+startfiles=0
+endfiles=0
+defines=
+linkflags=
gnuc='
/* specify the GNU C extensions we support */
"-D", "__GNUC__=1",
@@ -120,7 +124,6 @@ case "$target" in
startfiles='"-l", ":crt0.o", "-l", ":crtbegin.o"'
endfiles='"-l", "c", "-l", ":crtend.o"'
linkflags='"-L", "/usr/lib"'
- defines=''
;;
*)
fail "unknown target '$target', please create config.h manually"