diff options
author | Ian Lynagh <igloo@earth.li> | 2010-07-29 01:25:07 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2010-07-29 01:25:07 +0000 |
commit | 28c2bbb03ff6144f3a09e5286c8c3ca6ad3689e8 (patch) | |
tree | 9fb2d7f110a382b0049e8da7dd96fc01ee2bf8da /rts/EndPrivate.h | |
parent | fd9f6472d9bb9b521533fdb0cd4a4bf0a742b840 (diff) | |
download | haskell-28c2bbb03ff6144f3a09e5286c8c3ca6ad3689e8.tar.gz |
Disable symbol visibility pragmas for FreeBSD
Do not use GCC pragmas for controlling visibility, because it causes
"undefined reference" errors at link-time. The true reasons are
unknown, however FreeBSD 8.x includes GCC 4.2.1 in the base system,
which might be buggy.
Diffstat (limited to 'rts/EndPrivate.h')
-rw-r--r-- | rts/EndPrivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/EndPrivate.h b/rts/EndPrivate.h index ac9df0479e..1d8a6b4208 100644 --- a/rts/EndPrivate.h +++ b/rts/EndPrivate.h @@ -1,3 +1,3 @@ -#if __GNUC__ >= 4 +#if __GNUC__ >= 4 && !defined(freebsd_HOST_OS) #pragma GCC visibility pop #endif |