]> source.dussan.org Git - tigervnc.git/commitdiff
Enable 64-bit libjpeg/SIMD build on Solaris
authorDRC <dcommander@users.sourceforge.net>
Thu, 28 Jan 2010 23:57:53 +0000 (23:57 +0000)
committerDRC <dcommander@users.sourceforge.net>
Thu, 28 Jan 2010 23:57:53 +0000 (23:57 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3960 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/jpeg/acinclude.m4

index 9b8d31252e0dffc21ba68c472e88767cbb942487..e8d7d0846cdaed4936c628f8840114f0512a0acf 100644 (file)
@@ -41,7 +41,14 @@ case "$host_os" in
     fi
   ;;
   solaris* | sunos* | sysv* | sco*)
-    objfmt='ELF'
+    case "$host_cpu" in
+      x86_64)
+        objfmt='ELF64'
+        ;;
+      *)
+        objfmt='ELF'
+        ;;
+    esac
   ;;
   darwin* | rhapsody* | nextstep* | openstep* | macos*)
     case "$host_cpu" in