Fix x86-64 build on FreeBSD systems
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@167 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
Significant changes since 0.0.91
|
||||||
|
================================
|
||||||
|
|
||||||
|
[1] Fixed x86-64 build on FreeBSD systems
|
||||||
|
|
||||||
|
|
||||||
Significant changes since 0.0.90
|
Significant changes since 0.0.90
|
||||||
================================
|
================================
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,14 @@ case "$host_os" in
|
|||||||
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
|
||||||
objfmt='BSD-a.out'
|
objfmt='BSD-a.out'
|
||||||
else
|
else
|
||||||
|
case "$host_cpu" in
|
||||||
|
x86_64)
|
||||||
|
objfmt='ELF64'
|
||||||
|
;;
|
||||||
|
*)
|
||||||
objfmt='ELF'
|
objfmt='ELF'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
solaris* | sunos* | sysv* | sco*)
|
solaris* | sunos* | sysv* | sco*)
|
||||||
|
|||||||
Reference in New Issue
Block a user