git » libfiu » commit f29b6bc

make: support parallel building with dependency on build-env.h

author Charles Hardin
2015-07-20 19:59:39 UTC
committer Alberto Bertogli
2015-07-25 21:56:46 UTC
parent 5f5577acbd198d7d6eec813cf434f6c3e1feb9d1

make: support parallel building with dependency on build-env.h

codegen needs to build after build-env.h since it is dependent
upon it.

This fixes a parallel build error

preload/posix/Makefile +1 -1

diff --git a/preload/posix/Makefile b/preload/posix/Makefile
index 674882b..4355829 100644
--- a/preload/posix/Makefile
+++ b/preload/posix/Makefile
@@ -68,7 +68,7 @@ $(OBJS): build-flags codegen.h
 
 # We define _GNU_SOURCE to get RTLD_NEXT if available; on non-GNU
 # platforms it should be harmless.
-codegen.o: codegen.c build-flags
+codegen.o: codegen.c build-flags build-env.h
 	$(NICE_CC) $(ALL_CFLAGS) -D_GNU_SOURCE -c $< -o $@
 
 # some platforms do not have libdl, we only use it if available