Author: Armin Rigo <[email protected]>
Branch:
Changeset: r341:92ca4b3673d1
Date: 2013-07-03 15:26 +0200
http://bitbucket.org/pypy/stmgc/changeset/92ca4b3673d1/
Log: Bah?? No clue. Move -lrt at the end of the gcc invocation, for
pleasing gcc on tannit.
diff --git a/c4/Makefile b/c4/Makefile
--- a/c4/Makefile
+++ b/c4/Makefile
@@ -26,13 +26,13 @@
# note that we don't say -DNDEBUG, so that asserts should still be compiled it
build-%: %.c ${H_FILES} ${C_FILES} stmgc.c
- gcc -lrt -pthread -O2 -g $< -o build-$* -Wall stmgc.c
+ gcc -pthread -O2 -g $< -o build-$* -Wall stmgc.c -lrt
debug-%: %.c ${H_FILES} ${C_FILES}
- gcc -lrt -pthread ${DEBUG} $< -o debug-$* -Wall ${C_FILES}
+ gcc -pthread ${DEBUG} $< -o debug-$* -Wall ${C_FILES} -lrt
release-%: %.c ${H_FILES} ${C_FILES} stmgc.c
- gcc -lrt -pthread -DNDEBUG -O2 -g $< -o release-$* -Wall stmgc.c
+ gcc -pthread -DNDEBUG -O2 -g $< -o release-$* -Wall stmgc.c -lrt
test-%:
./$* 2>/dev/null | grep "check ok"
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit