projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-07-12 00:08:28 by sof]
[ghc-hetmet.git]
/
ghc
/
rts
/
package.conf.in
diff --git
a/ghc/rts/package.conf.in
b/ghc/rts/package.conf.in
index
3a31625
..
ac11847
100644
(file)
--- a/
ghc/rts/package.conf.in
+++ b/
ghc/rts/package.conf.in
@@
-43,7
+43,7
@@
Package {
,"mingwex"
# endif
#endif
,"mingwex"
# endif
#endif
-#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS)
+#if defined(THREADED_RTS) && !defined(mingw32_TARGET_OS) && !defined(freebsd_TARGET_OS)
,"pthread"
# ifdef osf3_TARGET_OS
,"exc"
,"pthread"
# ifdef osf3_TARGET_OS
,"exc"
@@
-64,7
+64,11
@@
Package {
c_includes = [ "Stg.h" ],
package_deps = [],
extra_ghc_opts = [],
c_includes = [ "Stg.h" ],
package_deps = [],
extra_ghc_opts = [],
+#if defined(THREADED_RTS) && defined(freebsd_TARGET_OS)
+ extra_cc_opts = [ "-pthread" ],
+#else
extra_cc_opts = [],
extra_cc_opts = [],
+#endif
/* the RTS forward-references to a bunch of stuff in the prelude,
so we force it to be included with special options to ld. */
extra_ld_opts =
/* the RTS forward-references to a bunch of stuff in the prelude,
so we force it to be included with special options to ld. */
extra_ld_opts =
@@
-136,6
+140,9
@@
Package {
, "-u", "GHCziWeak_runFinalizzerBatch_closure"
, "-u", "__stginit_Prelude"
#endif
, "-u", "GHCziWeak_runFinalizzerBatch_closure"
, "-u", "__stginit_Prelude"
#endif
+#if defined(THREADED_RTS) && defined(freebsd_TARGET_OS)
+ , "-pthread"
+#endif
]
#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
, extra_frameworks = [ "HaskellSupport" ]
]
#ifdef HAVE_FRAMEWORK_HASKELLSUPPORT
, extra_frameworks = [ "HaskellSupport" ]