summaryrefslogtreecommitdiff
path: root/mkconfig.sh
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-04-01 17:55:35 +0600
committerDaniil Baturin <daniil@baturin.org>2016-04-01 17:55:35 +0600
commitad7cbcd195198e78c2a6e67d5be3db6ffeb2a479 (patch)
tree8715a33ca2110c62ddd8689956a4cc9d386e748d /mkconfig.sh
parent85bdc136388b07d039610df97362f07fe6529e2c (diff)
downloadhvinfo-ad7cbcd195198e78c2a6e67d5be3db6ffeb2a479.tar.gz
hvinfo-ad7cbcd195198e78c2a6e67d5be3db6ffeb2a479.zip
Fix conditional build.
Diffstat (limited to 'mkconfig.sh')
-rwxr-xr-xmkconfig.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/mkconfig.sh b/mkconfig.sh
index 54a91c2..fef0de0 100755
--- a/mkconfig.sh
+++ b/mkconfig.sh
@@ -36,14 +36,6 @@ case $OS in
exit 1
esac
-# Create the gnatprep defs file
-# Determine the arch
-rm -f $CONFIG
-ARCH=$(uname -m)
-if [ $(expr $ARCH : 'i*86') -o $(expr $ARCH : 'amd64') -o $(expr $ARCH : 'x86_64') ]; then
- echo "X86 := True" >> $CONFIG
-fi
-
$GNATPREP -D LINUX=$HVINFO_LINUX \
-D FREEBSD=$HVINFO_FREEBSD \
-D VERSION=\"$VERSION\" \