Link with pthread libs

This commit is contained in:
Justin Ethier 2015-12-02 01:01:26 -05:00
parent c70a69c202
commit ab5d12b896

View file

@ -286,7 +286,7 @@
(comp-prog-cmd
(string-append "gcc " src-file " -g -c -o " exec-file ".o"))
(comp-objs-cmd
(string-append "gcc " exec-file ".o " objs-str " -lcyclone -lm -g -o " exec-file)))
(string-append "gcc " exec-file ".o " objs-str " -pthread -lcyclone -lm -g -o " exec-file)))
;(write `(DEBUG all imports ,lib-deps objs ,objs-str))
;(write `(DEBUG ,(lib:get-all-import-deps (cdar in-prog))))
(cond