diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/configure | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index ec0fa02aca..5311c64f55 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -134,7 +134,10 @@ simcc () { | |||
134 | esac | 134 | esac |
135 | 135 | ||
136 | if [ "`uname -m`" = "x86_64" ] || [ "`uname -m`" = "amd64" ]; then | 136 | if [ "`uname -m`" = "x86_64" ] || [ "`uname -m`" = "amd64" ]; then |
137 | GCCOPTS="$GCCOPTS -fPIC" # needed to make shared objects link | 137 | # fPIC is needed to make shared objects link |
138 | # setting visibility to hidden is necessary to avoid strange crashes | ||
139 | # due to symbol clashing | ||
140 | GCCOPTS="$GCCOPTS -fPIC -fvisibility=hidden" | ||
138 | fi | 141 | fi |
139 | 142 | ||
140 | GCCOPTS="$GCCOPTS -I\$(SIMDIR)" | 143 | GCCOPTS="$GCCOPTS -I\$(SIMDIR)" |