diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2013-02-17 01:52:34 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2013-02-17 01:52:34 (GMT) |
commit | 28f03cab4d505cafd4f69761518d01d8dc889606 (patch) | |
tree | a8125ce83465ff9ff94ffa307267df69136032be /scripts/setenv-unibuild.sh | |
parent | 2346a38a24b9c87680dec914e2b25ce29c6b35a6 (diff) |
some fixes for sparc64
Diffstat (limited to 'scripts/setenv-unibuild.sh')
-rw-r--r-- | scripts/setenv-unibuild.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/setenv-unibuild.sh b/scripts/setenv-unibuild.sh index 66fb7a9..980fa7b 100644 --- a/scripts/setenv-unibuild.sh +++ b/scripts/setenv-unibuild.sh @@ -34,6 +34,11 @@ setenv_common() echo OPENSCAD_LIBRARIES modified echo GLEWDIR modified + if [ "`uname -m | grep sparc64`" ]; then + echo detected sparc64. forcing 32 bit with export ABI=32 + ABI=32 + export ABI + fi } setenv_freebsd() |