From 71d82d06d17f0205ccf5bb72ea11d3fd3e9eb363 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 15 Aug 2009 20:20:28 -0700 Subject: Add refcounting and thread-safety to message definitions. --- gen-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gen-deps.sh') diff --git a/gen-deps.sh b/gen-deps.sh index 6f7b4af..6c0ced3 100755 --- a/gen-deps.sh +++ b/gen-deps.sh @@ -11,7 +11,8 @@ # Since upb_parse.o is actually in src, the dependency information is # not used. To remedy this, we use the -MT flag (see gcc docs). +set -e rm -f deps for file in $@; do - gcc -MM $file -MT ${file%.*}.o -Idescriptor -Isrc -I. >> deps + gcc -MM $file -MT ${file%.*}.o -DUPB_THREAD_UNSAFE -Idescriptor -Isrc -I. >> deps done -- cgit v1.2.3