Skip to content

Instantly share code, notes, and snippets.

@dnadlinger
Created August 8, 2009 11:37
Show Gist options
  • Save dnadlinger/164387 to your computer and use it in GitHub Desktop.
Save dnadlinger/164387 to your computer and use it in GitHub Desktop.
diff --git a/build/build.sh b/build/build.sh
index f8cc708..b8e79b7 100755
--- a/build/build.sh
+++ b/build/build.sh
@@ -65,7 +65,7 @@ do
no_install=1
;;
--clean)
- clean_only=
+ clean_only=1
;;
--verbose)
silent=
@@ -79,7 +79,7 @@ done
if [ -z "$user_only" ] ; then
cd $tango_home/build/runtime
- if [ -z "$clean_only" ] ; then
+ if [ -n "$clean_only" ] ; then
make $silent distclean || die "error cleaning runtime" 1
else
if [ -z "$quick" ] ; then
@@ -94,7 +94,7 @@ if [ -z "$user_only" ] ; then
cd ../..
fi
cd $tango_home/build/user
-if [ -z "$clean_only" ] ; then
+if [ -n "$clean_only" ] ; then
make $silent distclean || die "error cleaning runtime" 1
else
if [ -z "$quick" ] ; then
diff --git a/build/runtime/common/OBJDEFS.inc b/build/runtime/common/OBJDEFS.inc
index 0b9f61c..b26282f 100644
--- a/build/runtime/common/OBJDEFS.inc
+++ b/build/runtime/common/OBJDEFS.inc
@@ -31,6 +31,6 @@ COMMON_DI=\
tango/stdc/stdio.di \
tango/stdc/stddef.di \
tango/stdc/config.di \
- tango/stdc/stdint.d \
+ tango/stdc/stdint.di \
tango/stdc/posix/config.di
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment